diff options
Diffstat (limited to 'comfignat.mk')
| -rw-r--r-- | comfignat.mk | 13 | 
1 files changed, 7 insertions, 6 deletions
| diff --git a/comfignat.mk b/comfignat.mk index e134d2e..42dc5d8 100644 --- a/comfignat.mk +++ b/comfignat.mk @@ -513,11 +513,12 @@ preprocessed_files_in_builddir = ${addprefix ${builddir}/,${preprocessed_files}}  Comfignat_default_goal: build  # How to make directories: -${builddir} ${stage_gprdir}: +%/:  	mkdir -p $@ +.PRECIOUS: %/  # How to initialize a build directory with a delegating makefile: -${builddir}/Makefile: | ${builddir} +${builddir}/Makefile: | ${builddir}/  	@echo 'Writing $@.'  	@( echo 'Comfignat_default_goal: force ; ${delegation_command}'; \  	   echo '%: force ; ${delegation_command} $$@'; \ @@ -576,19 +577,19 @@ show_configuration::  	 true  # How to preprocess the project Comfignat: -${builddir}/comfignat.gpr: comfignat.gpr.gp | ${builddir} +${builddir}/comfignat.gpr: comfignat.gpr.gp | ${builddir}/  	"${GNATPREP}" $< $@ -DInvoked_By_Makefile ${all_directories}  # How to preprocess files that are needed during the build: -${builddir}/%: %.gp | ${builddir} +${builddir}/%: %.gp | ${builddir}/  	${preprocess_file}  # How to preprocess usage projects: -${stage_gprdir}/%: %.gp | ${stage_gprdir} +${stage_gprdir}/%: %.gp | ${stage_gprdir}/  	${preprocess_file}  # How to stage usage projects that don't need preprocessing: -${stage_gprdir}/%: % | ${stage_gprdir} +${stage_gprdir}/%: % | ${stage_gprdir}/  	cp -p $< $@  preprocess: $${preprocessed_files_in_builddir} |