X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=daemons%2Fhttp_getter%2FMakefile;h=4f0438fde1b5312d760f8196ba469b8c8469656d;hb=0024b019fcb44f72d7bddd9d887ec2e5d0401bd7;hp=d7b1089af45d31a22cd9fbc27e745f72e79f0c0c;hpb=8feb1cda5703daa4371c556593bab63514423a58;p=helm.git diff --git a/daemons/http_getter/Makefile b/daemons/http_getter/Makefile index d7b1089af..4f0438fde 100644 --- a/daemons/http_getter/Makefile +++ b/daemons/http_getter/Makefile @@ -3,7 +3,11 @@ NAME = http_getter REQUIRES = helm-getter helm-logger helm-registry netstring COMMONOPTS = -package "$(REQUIRES)" -pp camlp4o -thread -OCAMLFIND = OCAMLPATH=../ocaml/METAS ocamlfind +ifeq ($(origin OCAMLPATH), undefined) +OCAMLFIND = OCAMLPATH=../../components/METAS ocamlfind +else +OCAMLFIND = ocamlfind +endif OCAMLC = $(OCAMLFIND) ocamlc -g $(COMMONOPTS) OCAMLOPT = $(OCAMLFIND) opt $(COMMONOPTS)