Rombobjörn

summaryrefslogtreecommitdiff
path: root/comfignat.mk
diff options
context:
space:
mode:
authorBjörn Persson <Bjorn@Rombobjörn.se>2013-12-14 15:40:23 +0100
committerBjörn Persson <Bjorn@Rombobjörn.se>2013-12-14 15:40:23 +0100
commit6a19d31ff0da4d8e0238826a6b5f2ca1dcf0c64a (patch)
tree6cbae84357891eba13ee3fa2ed2fb3ec656659db /comfignat.mk
parentdc755a6e32254c6d58157a410bf41912b5a16ad0 (diff)
Use VPATH to find project files.
Diffstat (limited to 'comfignat.mk')
-rw-r--r--comfignat.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/comfignat.mk b/comfignat.mk
index a4742c4..1ab2256 100644
--- a/comfignat.mk
+++ b/comfignat.mk
@@ -181,7 +181,7 @@ preprocess_file = "${GNATPREP}" ${firstword ${filter %.gp,$^}} $@ \
# conveyed to it as Gnatprep symbols. Otherwise srcdir is conveyed.
build_GPR = "${GNAT_BUILDER}" -P ${firstword ${filter %.gpr,$^}} \
- -aP${srcdir} -aP${builddir} -p \
+ ${addprefix -aP,${VPATH}} -p \
${options_building} ${builder_arguments} ${GNATFLAGS}
# build_GPR is a command for use in recipes. It performs a build controlled by
# the first project file among the rule's prerequisites.