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.
This commit is contained in:
Christophe de Dinechin 2019-04-01 22:58:47 +02:00
parent 9089276d59
commit 1f845c7ee5
1 changed files with 1 additions and 1 deletions

View File

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