summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-12-31 17:39:49 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-12-31 17:39:49 -0500
commit118c2cf268cce89536aa7cdb7e63a754c8a126e7 (patch)
treeae5647df57de0b5da74d6064788c9d45678292e2
parent729608124fa5f479a82dcc3b13fdcedc473fdafa (diff)
'make tidy' preserved compressed graphics, like pokecrystal
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 32d37f16..21d08ae0 100644
--- a/Makefile
+++ b/Makefile
@@ -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/