X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=daemons%2Frdfly%2FMakefile;h=26e296409b4765f4a31459680df41ff2ee4c5da1;hb=289c9b13a539c8f82602614561fae74ddbc1fe77;hp=87ef3be5f66c1335e9cb29531b961e2429b5923e;hpb=28eef5b98d64d50e0c593a538f5eacb6279d395b;p=helm.git diff --git a/daemons/rdfly/Makefile b/daemons/rdfly/Makefile index 87ef3be5f..26e296409 100644 --- a/daemons/rdfly/Makefile +++ b/daemons/rdfly/Makefile @@ -2,7 +2,11 @@ BIN_DIR = /usr/local/bin REQUIRES = mysql http helm-registry PREDICATES = OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -pp camlp4o -OCAMLFIND = OCAMLPATH=../../components/METAS/ ocamlfind +ifeq ($(origin OCAMLPATH), undefined) +OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind +else +OCAMLFIND = ocamlfind +endif OCAMLC = $(OCAMLFIND) ocamlc -thread $(OCAMLOPTIONS) OCAMLOPT = $(OCAMLFIND) ocamlopt -thread $(OCAMLOPTIONS) OCAMLDEP = ocamldep -pp camlp4o