diff options
author | François Pottier <francois.pottier@inria.fr> | 2015-10-16 11:37:25 +0200 |
---|---|---|
committer | François Pottier <francois.pottier@inria.fr> | 2015-10-16 11:37:25 +0200 |
commit | dfa2941c7df7641872464ff07466f754718df1c1 (patch) | |
tree | 0511440bd205cfa01e273af5b6dba53cc06d9f7b | |
parent | 153651d6f959f9a18a47441f2e7280046b590f1e (diff) | |
download | compcert-dfa2941c7df7641872464ff07466f754718df1c1.tar.gz compcert-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.
-rw-r--r-- | Makefile.menhir | 2 |
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 \ |