'make clean' reuses 'make tidy' commands

This commit is contained in:
Rangi 2020-08-11 14:14:36 -04:00
parent 33ea73496a
commit 71316591fc

View file

@ -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