Commit 458d00be authored by POTTIER Francois's avatar POTTIER Francois

Add a rule in [test/Makefile] to build an executable.

parent 37049b46
......@@ -50,6 +50,13 @@ bench: reinstall
@ echo Running...
@ _build_bench/bench.native
# Building an executable.
%.native:
@ $(OCAMLBUILD) -build-dir \
_build_$(shell grep -iw $* *.mllib | sed -e 's/\([^.]*\).mllib:.*/\1/') \
$@
# ------------------------------------------------------------------------------
# Building inferred .mli files.
......
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