X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fbinaries%2Futilities%2FMakefile;h=db76fb51da13d904bb3c88bb5348d491cec790e8;hb=347a92a83c3fa154c850d94b1a211fbb8334d4f1;hp=314136db57dabda1d015fd7df4f030898d4c8e53;hpb=2a328e2a7623584d5593a9cc547c336c31ad1243;p=helm.git diff --git a/helm/software/components/binaries/utilities/Makefile b/helm/software/components/binaries/utilities/Makefile index 314136db5..db76fb51d 100644 --- a/helm/software/components/binaries/utilities/Makefile +++ b/helm/software/components/binaries/utilities/Makefile @@ -2,7 +2,7 @@ H=@ UTILITIES = create_environment parse_library list_uris test_library UTILITIES_OPT = $(patsubst %,%.opt,$(UTILITIES)) -LINKOPTS = -linkpkg -thread +LINKOPTS = -linkpkg -rectypes -thread LIBS = helm-cic_proof_checking OCAMLC = $(OCAMLFIND) ocamlc $(LINKOPTS) -package $(LIBS) OCAMLOPT = $(OCAMLFIND) opt $(LINKOPTS) -package $(LIBS) @@ -23,7 +23,19 @@ depend: $(H)ocamldep extractor.ml extractor_manager.ml > .depend depend.opt: $(H)echo " OCAMLDEP -native" - $(H)ocamldep -native extractor.ml extractor_manager.ml > .depend + $(H)ocamldep -native extractor.ml extractor_manager.ml > .depend.opt + +ifeq ($(MAKECMDGOALS),) + include .depend +endif +ifeq ($(MAKECMDGOALS), all) + include .depend +endif + +ifeq ($(MAKECMDGOALS), opt) + include .depend.opt +endif + include ../../../Makefile.defs