summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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/