From 1f845c7ee5b92ff31b2d557bdd1f1be6629cb08b Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Mon, 1 Apr 2019 22:58:47 +0200 Subject: [PATCH] Do not rebuild target product every time The final product was rebuilt every time because of the rule to create the output directory. Made it an order-only dependency. --- rules.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules.mk b/rules.mk index 38318e7..2a864f9 100644 --- a/rules.mk +++ b/rules.mk @@ -482,7 +482,7 @@ ifeq ($(MAKECMDGOALS),.build) endif # Create output directory if necessary -$(MIQ_OUTPRODS): $(OUTPUT).mkdir-only +$(MIQ_OUTPRODS): | $(OUTPUT).mkdir-only # Link .SECONDEXPANSION: