X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=daemons%2Fgraphs%2Ftools%2FMakefile;h=bd473431a0bd420fcda7d33878b7290b56a337c3;hb=54cffdf58a8480b2ee43d9c0a82213c1926b15e6;hp=bef00fca356b88eba54d5fe30a6f9013028fdc21;hpb=28eef5b98d64d50e0c593a538f5eacb6279d395b;p=helm.git diff --git a/daemons/graphs/tools/Makefile b/daemons/graphs/tools/Makefile index bef00fca3..bd473431a 100644 --- a/daemons/graphs/tools/Makefile +++ b/daemons/graphs/tools/Makefile @@ -6,7 +6,11 @@ SED=cat REQUIRES = http helm-registry PREDICATES = mt OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -thread -OCAMLFIND = OCAMLPATH=../../../components/METAS/ ocamlfind +ifeq ($(origin OCAMLPATH), undefined) +OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind +else +OCAMLFIND = ocamlfind +endif OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS) OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS) EXECUTABLES = uriSetQueue drawGraph