X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=daemons%2Fwhelp%2FMakefile;h=9f5e276e36630bb533a17d75192428e53df1b57c;hb=a957099550619f87a58be467b9b11f2ad6501378;hp=c57e6e1f364f5b53e949e2379bc73fb046e75b13;hpb=28eef5b98d64d50e0c593a538f5eacb6279d395b;p=helm.git diff --git a/daemons/whelp/Makefile b/daemons/whelp/Makefile index c57e6e1f3..9f5e276e3 100644 --- a/daemons/whelp/Makefile +++ b/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