Commit 2590fd54 authored by POTTIER Francois's avatar POTTIER Francois

demos/generate-printer: do not use find-menhir.sh. Also, let [test] depend on [all].

parent 1913eac5
.PHONY: all test clean
# Find Menhir.
ifndef MENHIR
MENHIR := $(shell ../find-menhir.sh)
endif
# The Menhir executable in the PATH and the library MenhirSdk
# should agree on their version number, or this test will fail
# complaining that magic strings do not match.
MENHIR := menhir
OCAMLBUILD := ocamlbuild -use-ocamlfind
MAIN := generate
EXECUTABLE := menhir-generate-printers
......@@ -16,7 +15,8 @@ all:
TEST := ../../bench/good/parser_raw
test:
test: all
rm -f $(TEST).cmly
$(MENHIR) --cmly $(TEST).mly
./$(EXECUTABLE) $(TEST).cmly
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment