X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fdaemons%2Fwhelp%2FMakefile;h=9f5e276e36630bb533a17d75192428e53df1b57c;hb=9cb555299fb3bb3c810f20c8cd2e1ebd54f9f3f7;hp=c57e6e1f364f5b53e949e2379bc73fb046e75b13;hpb=f4cdaa1a48ac6f4fbef567b8a8ddf3fcfc97a3cd;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