From dfa2941c7df7641872464ff07466f754718df1c1 Mon Sep 17 00:00:00 2001 From: François Pottier Date: Fri, 16 Oct 2015 11:37:25 +0200 Subject: It is probably more efficient to eagerly evaluate $(MENHIR_INCLUDES). This should save a lot of calls to the shell, menhir, and ocamlfind. --- Makefile.menhir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.menhir') 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 \ -- cgit