X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2FMakefile.common;h=59b35aa7371348377d34bd9d6b4735169b708165;hb=bb9aa02b52977c05fe678a4e15bfc64e27c2c5f5;hp=30bd4c8898b29c533655d94ddc5553ed9d908624;hpb=6e32fcdcb9ba66f4b3a31f283dc24fbe5dccb398;p=helm.git diff --git a/components/Makefile.common b/components/Makefile.common index 30bd4c889..59b35aa73 100644 --- a/components/Makefile.common +++ b/components/Makefile.common @@ -16,10 +16,12 @@ SYNTAXOPTIONS = -syntax camlp4o PREREQ = OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -thread OCAMLDEBUGOPTIONS = -g +#OCAML_PROF=p -p a OCAMLARCHIVEOPTIONS = REQUIRES := $(shell $(OCAMLFIND) -query -format '%(requires)' helm-$(PACKAGE)) -OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLDEBUGOPTIONS) $(OCAMLOPTIONS) $(PREPROCOPTIONS) -OCAMLOPT = $(OCAMLFIND) opt $(OCAMLOPTIONS) $(PREPROCOPTIONS) +OCAMLC = $(OCAMLFIND) ocamlc$(OCAML_PROF) $(OCAMLDEBUGOPTIONS) $(OCAMLOPTIONS) $(PREPROCOPTIONS) +#OCAMLOPT_DEBUG_FLAGS = -p +OCAMLOPT = $(OCAMLFIND) opt $(OCAMLOPTIONS) $(PREPROCOPTIONS) $(OCAMLOPT_DEBUG_FLAGS) OCAMLDEP = $(OCAMLFIND) ocamldep -package "camlp4 $(CAMLP4REQUIRES)" $(SYNTAXOPTIONS) $(OCAMLDEPOPTIONS) OCAMLLEX = ocamllex OCAMLYACC = ocamlyacc