Make sure we create the output directory when building, fixes #1

Reported-by: Jochen Becher <jochen_becher@gmx.de>
This commit is contained in:
Christophe de Dinechin 2018-05-17 14:17:20 +02:00
parent 7a7040ceff
commit 261186169a
1 changed files with 3 additions and 0 deletions

View File

@ -416,6 +416,9 @@ ifeq ($(MAKECMDGOALS),.build)
-include $(MIQ_DEPENDENCIES)
endif
# Create output directory if necessary
$(MIQ_OUTPRODS): $(OUTPUT).mkdir-only
# Link
.SECONDEXPANSION:
MIQ_NOSRC= $(@:$(OUTPUT)%=%)