ref: 71316591fcb47db378bf79fab299e35d95d7d745
parent: 33ea73496a8145a95c5a35386bc3b8f581e0e72b
author: Rangi <remy.oukaour+rangi42@gmail.com>
date: Tue Aug 11 10:14:36 EDT 2020
'make clean' reuses 'make tidy' commands
--- a/Makefile
+++ b/Makefile
@@ -44,10 +44,8 @@
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