diff options
-rw-r--r-- | Makefile.menhir | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile.menhir b/Makefile.menhir index 74bd14e2..b72c52f3 100644 --- a/Makefile.menhir +++ b/Makefile.menhir @@ -14,7 +14,7 @@ # Executable. -MENHIR = menhir +MENHIR = menhir # This flag can be set to true or false. It controls whether we use # Menhir's table back-end or code back-end. The table back-end is a @@ -28,7 +28,7 @@ MENHIR_TABLE = true ifeq ($(MENHIR_TABLE),true) MENHIR_MODE = --table else - MENHIR_MODE = + MENHIR_MODE = endif # Options. @@ -64,6 +64,8 @@ endif # can instead ask ocamlfind where Menhir's library was installed. Otherwise, # Menhir answers directly with a "-I ..." directive, which we use. +ifndef MENHIR_INCLUDES + ifeq ($(MENHIR_TABLE),true) MENHIR_SUGGESTION = $(MENHIR) $(MENHIR_MODE) --suggest-comp-flags @@ -81,3 +83,4 @@ else endif +endif |