]> matita.cs.unibo.it Git - helm.git/blobdiff - daemons/proofChecker/Makefile
OCAMLPATH is no longer overrid if already set in current environment
[helm.git] / daemons / proofChecker / Makefile
index ae957785c958da96422ee92064ecfdebf25ef8b1..4be11212f2609333a94bb3c493513d443b375e94 100644 (file)
@@ -2,7 +2,11 @@ BIN_DIR = /usr/local/bin
 REQUIRES = helm-cic_proof_checking http
 PREDICATES =
 OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -thread
-OCAMLFIND = OCAMLPATH=../../components/METAS/ ocamlfind
+ifeq ($(origin OCAMLPATH), undefined)
+OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind
+else
+OCAMLFIND = ocamlfind
+endif
 OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS) -g
 OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS)
 OCAMLDEP = ocamldep