X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2FgTopLevel%2FMakefile;h=bac191eb10cab92b7380d8de407175d4f8fa94c3;hb=b3e00c5c1ff91409a2065feac83b3feec65cc474;hp=34b0aec80b932069dc7b1b7235cb7a6bbf158e81;hpb=34feb17401c569973c510ae75360be275587d315;p=helm.git diff --git a/helm/gTopLevel/Makefile b/helm/gTopLevel/Makefile index 34b0aec80..bac191eb1 100644 --- a/helm/gTopLevel/Makefile +++ b/helm/gTopLevel/Makefile @@ -4,6 +4,7 @@ REQUIRES = lablgtkmathview helm-cic_textual_parser helm-cic_proof_checking \ helm-mathql_interpreter PREDICATES = "gnome,init,glade" OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -pp camlp4o +OCAMLDEPOPTIONS = $(shell ocamlfind query -recursive -predicates "$(PREDICATES)" -i-format $(REQUIRES)) OCAMLFIND = ocamlfind OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLOPTIONS) OCAMLOPT = $(OCAMLFIND) ocamlopt $(OCAMLOPTIONS) @@ -33,7 +34,7 @@ TOPLEVELOBJS = \ gTopLevel.cmo depend: - $(OCAMLDEP) $(DEPOBJS) > .depend + $(OCAMLDEP) $(OCAMLDEPOPTIONS) $(DEPOBJS) > .depend gTopLevel: $(TOPLEVELOBJS) $(LIBRARIES) $(OCAMLC) -linkpkg -o gTopLevel $(TOPLEVELOBJS)