summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi@gmail.com>2020-09-22 12:04:13 -0400
committerRangi <remy.oukaour+rangi@gmail.com>2020-09-22 12:04:13 -0400
commit268e2cae0b98779cfb0c590ab9612151c752e868 (patch)
tree219549f24016d1ab91a46bddb8e1392808eb2c50 /Makefile
parent34cbb1a9d43856e9f114f7a79e596cb56aa7e1ed (diff)
Move most files out of the root directory
- ram/ froups the ram source files - slack/ is for unused garbage taking up the ROM's free space - gfx.py moved to utils/
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 4265cfd..1471080 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,8 @@ ROM := pokegold-spaceworld.gb
CORRECTEDROM := $(ROM:%.gb=%-correctheader.gb)
BASEROM := baserom.gb
-DIRS := home engine data audio maps scripts
-FILES := bin.asm gfx.asm vram.asm sram.asm wram.asm hram.asm
+DIRS := home engine data gfx audio maps scripts ram slack
+FILES :=
BUILD := build
@@ -94,13 +94,14 @@ $(BUILD)/%.d: %.asm | $$(dir $$@) $(SCAN_INCLUDES)
### Misc file-specific graphics rules
+$(BUILD)/slack/corrupted_9e1c.2bpp: tools/gfx += --trim-whitespace
+$(BUILD)/slack/corrupted_a66c.2bpp: tools/gfx += --trim-whitespace
+$(BUILD)/slack/corrupted_b1e3.2bpp: tools/gfx += --trim-whitespace
+$(BUILD)/slack/sgb_border_gold_corrupted.2bpp: tools/gfx += --trim-whitespace
+
$(BUILD)/gfx/sgb/sgb_border_alt.2bpp: tools/gfx += --trim-whitespace
$(BUILD)/gfx/sgb/sgb_border_gold.2bpp: tools/gfx += --trim-whitespace
-$(BUILD)/gfx/sgb/sgb_border_gold_corrupted.2bpp: tools/gfx += --trim-whitespace
$(BUILD)/gfx/sgb/sgb_border_silver.2bpp: tools/gfx += --trim-whitespace
-$(BUILD)/gfx/sgb/corrupted_9e1c.2bpp: tools/gfx += --trim-whitespace
-$(BUILD)/gfx/sgb/corrupted_a66c.2bpp: tools/gfx += --trim-whitespace
-$(BUILD)/gfx/sgb/corrupted_b1e3.2bpp: tools/gfx += --trim-whitespace
$(BUILD)/gfx/sgb/sgb_border_silver.2bpp: tools/gfx += --trim-whitespace
$(BUILD)/gfx/trainer_card/leaders.2bpp: tools/gfx += --trim-whitespace