From 71316591fcb47db378bf79fab299e35d95d7d745 Mon Sep 17 00:00:00 2001 From: Rangi Date: Tue, 11 Aug 2020 14:14:36 -0400 Subject: 'make clean' reuses 'make tidy' commands --- Makefile | 4 +--- 1 file changed, 1 insertion(+), 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 -- cgit v1.3.1-sl0p