'make tidy' preserved compressed graphics, like pokecrystal

This commit is contained in:
Rangi 2018-12-31 17:39:49 -05:00
parent 729608124f
commit 118c2cf268

View File

@ -7,7 +7,7 @@ pokeblue_obj := audio_blue.o main_blue.o text_blue.o wram_blue.o
.SECONDEXPANSION:
.PRECIOUS:
.SECONDARY:
.PHONY: all clean red blue compare tools
.PHONY: all clean red blue compare tools tidy
roms := pokered.gbc pokeblue.gbc
@ -24,6 +24,10 @@ clean:
find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -exec rm {} +
$(MAKE) clean -C tools/
tidy:
rm -f $(roms) $(pokered_obj) $(pokeblue_obj) $(roms:.gbc=.sym)
$(MAKE) clean -C tools/
tools:
$(MAKE) -C tools/