From 56ff80212749f8a4aa7b3af7c30e6642252b4781 Mon Sep 17 00:00:00 2001 From: yenatch Date: Sat, 8 Jul 2017 14:28:53 -0400 Subject: Don't make tools during clean/tidy --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7d78c43..f1a100e 100755 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ MD5 := md5sum -c all: $(ROM) compare -ifeq (,$(filter $(MAKECMDGOALS),tools)) +ifeq (,$(filter tools clean tidy,$(MAKECMDGOALS))) Makefile: tools endif @@ -29,10 +29,11 @@ compare: $(ROM) @$(MD5) rom.md5 tools: - @$(MAKE) -C tools + $(MAKE) -C tools tidy: rm -f $(ROM) $(OBJS) $(ROM:.gbc=.sym) $(ROM:.gbc=.map) + $(MAKE) -C tools clean clean: tidy find . \( -iname '*.1bpp' -o -iname '*.2bpp' -o -iname '*.pcm' \) -exec rm {} + -- cgit v1.2.3