From 6aac84dc6fef0c4dac0a92a585021aaadd0ba8ea Mon Sep 17 00:00:00 2001 From: Ash Logan Date: Tue, 23 Apr 2019 19:50:04 +1000 Subject: [PATCH] Makefile: change directories to order-only --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 144a239..be49809 100644 --- a/Makefile +++ b/Makefile @@ -118,14 +118,14 @@ release: debug: @[ -d $@ ] || mkdir -p $@ -lib/libwut.a : lib release $(SOURCES) $(INCLUDES) +lib/libwut.a :$(SOURCES) $(INCLUDES) | lib release @$(MAKE) BUILD=release OUTPUT=$(CURDIR)/$@ \ BUILD_CFLAGS="-DNDEBUG=1 -O2" \ DEPSDIR=$(CURDIR)/release \ --no-print-directory -C release \ -f $(CURDIR)/Makefile -lib/libwutd.a : lib debug $(SOURCES) $(INCLUDES) +lib/libwutd.a : $(SOURCES) $(INCLUDES) | lib debug @$(MAKE) BUILD=debug OUTPUT=$(CURDIR)/$@ \ BUILD_CFLAGS="-DDEBUG=1 -Og" \ DEPSDIR=$(CURDIR)/debug \