OCAMLFIND = ocamlfind
OCAMLDEBUGOPTIONS = -g
OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLDEBUGOPTIONS) $(OCAMLOPTIONS)
-OCAMLOPT = $(OCAMLFIND) opt $(OCAMLOPTIONS)
+OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS)
OCAMLDEP = $(OCAMLFIND) ocamldep -pp camlp4o
OCAMLDEBUG = wowcamldebug
$(OCAMLFIND) ocamlc $(OCAMLDEBUGOPTIONS) -linkpkg \
-package "$(TEST_REQUIRES)" -o $@ $(TESTLIBOBJS)
testlibrary.opt: $(TESTLIBOBJS:.cmo=.cmx) $(TEST_LIBRARIES_OPT)
- $(OCAMLFIND) opt -linkpkg -package "$(TEST_REQUIRES)" -o $@ \
+ $(OCAMLFIND) ocamlopt -linkpkg -package "$(TEST_REQUIRES)" -o $@ \
$(TESTLIBOBJS:.cmo=.cmx)
regtest: $(REGTESTOBJS) $(TEST_LIBRARIES)
$(OCAMLFIND) ocamlc $(OCAMLDEBUGOPTIONS) -linkpkg \
-package "$(TEST_REQUIRES)" -o $@ $(REGTESTOBJS)
regtest.opt: $(REGTESTOBJS:.cmo=.cmx) $(TEST_LIBRARIES_OPT)
- $(OCAMLOPT) opt -linkpkg -package "$(TEST_REQUIRES)" -o $@ \
+ $(OCAMLFIND) ocamlopt -linkpkg -package "$(TEST_REQUIRES)" -o $@ \
$(REGTESTOBJS:.cmo=.cmx)
.SUFFIXES: .ml .mli .cmo .cmi .cmx
envtest: regtest
./regtest -dump $(INTESTS) 2> /dev/null
librarytest: testlibrary.opt
- ./testlibrary.opt index.txt 2>/dev/null >LOG &
+ ./testlibrary.opt -vars -varsprefix cic:/Coq index.txt 2>/dev/null >LOG &
MAIN = ./gTopLevel
ARGS =