summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-08-11 14:14:36 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-08-11 14:14:36 -0400
commit71316591fcb47db378bf79fab299e35d95d7d745 (patch)
treeabeafa84ab0f3c4c762000c40c4240878ad221bd
parent33ea73496a8145a95c5a35386bc3b8f581e0e72b (diff)
'make clean' reuses 'make tidy' commands
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 9ddb4fa5..7a8f8ac3 100644
--- a/Makefile
+++ b/Makefile
@@ -44,10 +44,8 @@ red: pokered.gbc
blue: pokeblue.gbc
blue_debug: pokeblue_debug.gbc
-clean:
- rm -f $(roms) $(pokered_obj) $(pokeblue_obj) $(pokeblue_debug_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym) rgbdscheck.o
+clean: tidy
find gfx \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pic' \) -delete
- $(MAKE) clean -C tools/
tidy:
rm -f $(roms) $(pokered_obj) $(pokeblue_obj) $(pokeblue_debug_obj) $(roms:.gbc=.map) $(roms:.gbc=.sym) rgbdscheck.o