aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.menhir
diff options
context:
space:
mode:
authorFrançois Pottier <francois.pottier@inria.fr>2015-10-16 11:37:25 +0200
committerFrançois Pottier <francois.pottier@inria.fr>2015-10-16 11:37:25 +0200
commitdfa2941c7df7641872464ff07466f754718df1c1 (patch)
tree0511440bd205cfa01e273af5b6dba53cc06d9f7b /Makefile.menhir
parent153651d6f959f9a18a47441f2e7280046b590f1e (diff)
downloadcompcert-kvx-dfa2941c7df7641872464ff07466f754718df1c1.tar.gz
compcert-kvx-dfa2941c7df7641872464ff07466f754718df1c1.zip
It is probably more efficient to eagerly evaluate $(MENHIR_INCLUDES).
This should save a lot of calls to the shell, menhir, and ocamlfind.
Diffstat (limited to 'Makefile.menhir')
-rw-r--r--Makefile.menhir2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.menhir b/Makefile.menhir
index 414279ab..72b54b14 100644
--- a/Makefile.menhir
+++ b/Makefile.menhir
@@ -52,7 +52,7 @@ ifeq ($(MENHIR_TABLE),true)
MENHIR_SUGGESTION = $(MENHIR) --suggest-comp-flags
- MENHIR_INCLUDES = $(shell \
+ MENHIR_INCLUDES := $(shell \
if $(MENHIR_SUGGESTION) | grep -e "-package" >/dev/null ; then \
echo "-I `ocamlfind query menhirLib`" ; \
else \