From 118c2cf268cce89536aa7cdb7e63a754c8a126e7 Mon Sep 17 00:00:00 2001 From: Rangi Date: Mon, 31 Dec 2018 17:39:49 -0500 Subject: 'make tidy' preserved compressed graphics, like pokecrystal --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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/ -- cgit v1.2.3