X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fdaemons%2Fgraphs%2Ftools%2FMakefile;h=bd473431a0bd420fcda7d33878b7290b56a337c3;hb=750d027aedc76aac9def8885dc2bdb6ccdc049d9;hp=0726670319c97eda7006eeeb0a78bc8d6a6aaabd;hpb=76ad23ea1e83e8c187a4593027e9baed1bb022e3;p=helm.git diff --git a/helm/software/daemons/graphs/tools/Makefile b/helm/software/daemons/graphs/tools/Makefile index 072667031..bd473431a 100644 --- a/helm/software/daemons/graphs/tools/Makefile +++ b/helm/software/daemons/graphs/tools/Makefile @@ -6,8 +6,13 @@ SED=cat REQUIRES = http helm-registry PREDICATES = mt OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -thread -OCAMLC = ocamlfind ocamlc $(OCAMLOPTIONS) -OCAMLOPT = ocamlfind ocamlopt $(OCAMLOPTIONS) +ifeq ($(origin OCAMLPATH), undefined) +OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind +else +OCAMLFIND = ocamlfind +endif +OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS) +OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS) EXECUTABLES = uriSetQueue drawGraph EXECUTABLES_OPT = $(patsubst %,%.opt,$(EXECUTABLES))