X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fdaemons%2FproofChecker%2FMakefile;h=4be11212f2609333a94bb3c493513d443b375e94;hb=984afddae60275147eac32185e546a7eb943bb6c;hp=ae957785c958da96422ee92064ecfdebf25ef8b1;hpb=3b875dad94c1835059450dc0de3b1e2779aff454;p=helm.git diff --git a/helm/software/daemons/proofChecker/Makefile b/helm/software/daemons/proofChecker/Makefile index ae957785c..4be11212f 100644 --- a/helm/software/daemons/proofChecker/Makefile +++ b/helm/software/daemons/proofChecker/Makefile @@ -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