diff --git a/Makefile b/Makefile index 32d37f161..21d08ae05 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/