]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/daemons/proofChecker/Makefile
Documentation fixed.
[helm.git] / helm / software / daemons / proofChecker / Makefile
index af48d0a5d1e941ec7d45a6831a6192fdb5be17c4..ae957785c958da96422ee92064ecfdebf25ef8b1 100644 (file)
@@ -2,12 +2,13 @@ BIN_DIR = /usr/local/bin
 REQUIRES = helm-cic_proof_checking http
 PREDICATES =
 OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -thread
-OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS) -g
-OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS)
+OCAMLFIND = OCAMLPATH=../../components/METAS/ ocamlfind
+OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS) -g
+OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS)
 OCAMLDEP = ocamldep
 
-LIBRARIES = $(shell ocamlfind query -recursive -predicates "byte $(PREDICATES)" -format "%d/%a" $(REQUIRES))
-LIBRARIES_OPT = $(shell ocamlfind query -recursive -predicates "native $(PREDICATES)" -format "%d/%a" $(REQUIRES))
+LIBRARIES = $(shell $(OCAMLFIND) query -recursive -predicates "byte $(PREDICATES)" -format "%d/%a" $(REQUIRES))
+LIBRARIES_OPT = $(shell $(OCAMLFIND) query -recursive -predicates "native $(PREDICATES)" -format "%d/%a" $(REQUIRES))
 
 all: $(PROOFCHECKEROBJS) proofChecker
 opt: $(PROOFCHECKEROBJS:.cmo=.cmx) proofChecker.opt