diff options
author | yenatch <yenatch@gmail.com> | 2013-06-21 23:23:22 -0400 |
---|---|---|
committer | yenatch <yenatch@gmail.com> | 2013-06-21 23:23:22 -0400 |
commit | 01954388eab1d0bf8d3d0e42ef93b2fb58fe18d4 (patch) | |
tree | 6d18f901de5d75be1fbbc1d95013d078009e88b2 | |
parent | e733c4234c0064102f9732f23ed869660c847d31 (diff) |
make: don't recompile if it's not necessary
the preprocessor queue was preventing files from being recognized as out-of-date
this highlights similar errors with graphics targets, which need to be fixed anyway
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -11,13 +11,14 @@ all: pokecrystal.gbc cmp baserom.gbc $< clean: rm -f pokecrystal.o pokecrystal.gbc - @echo rm -f $$\(TEXTFILES:.asm=.tx\) + @echo 'rm -f $(TEXTFILES:.asm=.tx)' @rm -f $(TEXTFILES:.asm=.tx) -pokecrystal.o: $(TEXTFILES:.asm=.tx) pokecrystal.asm constants.asm wram.asm lzs +pokecrystal.o: $(TEXTFILES:.asm=.tx) $(LZ_GFX) $(TWOBPP_GFX) python prequeue.py $(TEXTQUEUE) rgbasm -o pokecrystal.o pokecrystal.asm .asm.tx: $(eval TEXTQUEUE := $(TEXTQUEUE) $<) + @rm $@ pokecrystal.gbc: pokecrystal.o rgblink -o $@ $< @@ -27,6 +28,7 @@ pngs: cd extras && python gfx.py mass-decompress && python gfx.py dump-pngs lzs: $(LZ_GFX) $(TWOBPP_GFX) + @: gfx/pics/%/front.lz: gfx/pics/%/front.png gfx/pics/%/tiles.2bpp python extras/gfx.py png-to-lz --front $^ |