X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fdaemons%2Fwhelp%2FMakefile;h=9f5e276e36630bb533a17d75192428e53df1b57c;hb=1c95887fc7af68023b8b682a34816d8fb4d0a716;hp=c57e6e1f364f5b53e949e2379bc73fb046e75b13;hpb=3b875dad94c1835059450dc0de3b1e2779aff454;p=helm.git diff --git a/helm/software/daemons/whelp/Makefile b/helm/software/daemons/whelp/Makefile index c57e6e1f3..9f5e276e3 100644 --- a/helm/software/daemons/whelp/Makefile +++ b/helm/software/daemons/whelp/Makefile @@ -1,6 +1,10 @@ REQUIRES = http helm-grafite_parser helm-logger helm-tactics helm-cic_disambiguation OCAMLOPTIONS = -thread -package "$(REQUIRES)" -pp camlp4o +ifeq ($(origin OCAMLPATH), undefined) OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind +else +OCAMLFIND = ocamlfind +endif OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS) OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS) OCAMLDEP = $(OCAMLFIND) ocamldep -package "$(REQUIRES)" -pp camlp4o