summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2013-09-10 02:03:40 -0400
committeryenatch <yenatch@gmail.com>2013-09-10 02:05:33 -0400
commit3e9e7663ec0428a5f054e09efa704aea1d704c9a (patch)
treeb7c4d265e5b97838358d25e910f784964d9e8aff
parent23b7a4eacee8815690ad82fb4fcb6549331eb3f7 (diff)
preprocess everything
it makes more sense this way
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index d480ceac1..6fc7ce2bf 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
PYTHON := python
.SUFFIXES: .asm .tx .o .gbc .png .2bpp .lz
-TEXTFILES := $(shell find ./ -type f -name '*.asm' | grep -v pokecrystal.asm | grep -v constants.asm | grep -v gbhw.asm | grep -v hram.asm | grep -v constants | grep -v wram.asm)
+TEXTFILES := $(shell find ./ -type f -name '*.asm')
TEXTQUEUE :=
PNG_GFX := $(shell find gfx/ -type f -name '*.png')
@@ -14,10 +14,10 @@ clean:
rm -f pokecrystal.o pokecrystal.gbc
@echo 'Removing preprocessed .tx files...'
@rm -f $(TEXTFILES:.asm=.tx)
-pokecrystal.o: $(TEXTFILES:.asm=.tx) wram.asm constants.asm $(shell find constants/ -type f -name '*.asm') hram.asm gbhw.asm $(LZ_GFX) $(TWOBPP_GFX)
+pokecrystal.o: $(TEXTFILES:.asm=.tx) $(LZ_GFX) $(TWOBPP_GFX)
@echo "Preprocessing .asm to .tx..."
@$(PYTHON) prequeue.py $(TEXTQUEUE)
- rgbasm -o pokecrystal.o pokecrystal.asm
+ rgbasm -o pokecrystal.o pokecrystal.tx
.asm.tx:
$(eval TEXTQUEUE := $(TEXTQUEUE) $<)
@rm -f $@