]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/daemons/proofChecker/Makefile
Added initial support for inversion principles in Matita NG.
[helm.git] / helm / software / daemons / proofChecker / Makefile
index ae957785c958da96422ee92064ecfdebf25ef8b1..0afd0a7a50f940c3db7c3b11c9952336905a03cf 100644 (file)
@@ -1,8 +1,12 @@
 BIN_DIR = /usr/local/bin
 REQUIRES = helm-cic_proof_checking http
 PREDICATES =
-OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -thread
-OCAMLFIND = OCAMLPATH=../../components/METAS/ ocamlfind
+OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -thread -rectypes
+ifeq ($(origin OCAMLPATH), undefined)
+OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind
+else
+OCAMLFIND = ocamlfind
+endif
 OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS) -g
 OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS)
 OCAMLDEP = ocamldep