From 3e9e7663ec0428a5f054e09efa704aea1d704c9a Mon Sep 17 00:00:00 2001 From: yenatch Date: Tue, 10 Sep 2013 02:03:40 -0400 Subject: [PATCH] preprocess everything it makes more sense this way --- Makefile | 6 +++--- 1 file 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 $@