X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2FMakefile.common.in;h=cefbf646d19ab6053937eb26d931752086ef51a8;hb=ebfab836e9e047756b7a53c3f46f69ec4532685a;hp=15d0fdab1a782c57696e930841a14c907a9abf76;hpb=4a671a60ba714f60b86d8ce02ff022899d6e52b7;p=helm.git diff --git a/helm/ocaml/Makefile.common.in b/helm/ocaml/Makefile.common.in index 15d0fdab1..cefbf646d 100644 --- a/helm/ocaml/Makefile.common.in +++ b/helm/ocaml/Makefile.common.in @@ -13,9 +13,11 @@ OCAMLFIND_DEST_DIR = @OCAMLFIND_DEST_DIR@ PREPROCOPTIONS = -pp camlp4o PREREQ = OCAMLOPTIONS = -package "$(REQUIRES)" -predicates "$(PREDICATES)" -OCAMLC = ocamlfind ocamlc -thread $(OCAMLOPTIONS) $(PREPROCOPTIONS) -OCAMLOPT = ocamlfind ocamlopt -thread $(OCAMLOPTIONS) $(PREPROCOPTIONS) -OCAMLDEP = ocamlfind ocamldep $(PREPROCOPTIONS) +OCAMLDEBUGOPTIONS = -g +OCAMLFIND = ocamlfind +OCAMLC = $(OCAMLFIND) ocamlc $(OCAMLDEBUGOPTIONS) $(OCAMLOPTIONS) $(PREPROCOPTIONS) +OCAMLOPT = $(OCAMLFIND) opt $(OCAMLOPTIONS) $(PREPROCOPTIONS) +OCAMLDEP = $(OCAMLFIND) ocamldep $(PREPROCOPTIONS) OCAMLLEX = ocamllex OCAMLYACC = ocamlyacc @@ -91,3 +93,7 @@ endif ifeq ($(MAKECMDGOALS), opt) $(IMPLEMENTATION_FILES:%.ml=%.cmi): $(LIBRARIES_OPT) endif + +ifeq ($(MAKECMDGOALS),) + $(IMPLEMENTATION_FILES:%.ml=%.cmi): $(LIBRARIES) +endif