X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=components%2Fbinaries%2Futilities%2FMakefile;h=1874a238543eb464f05813e53a522c2366ec644f;hb=c1e0024285a65a7d3e31bbdf77ad5d12bcdde36c;hp=c22d2a99d962562a07e55f4ed58421dad812920d;hpb=d4c6f8464dc183326b7f7b4dc6171e69b482a26b;p=helm.git diff --git a/components/binaries/utilities/Makefile b/components/binaries/utilities/Makefile index c22d2a99d..1874a2385 100644 --- a/components/binaries/utilities/Makefile +++ b/components/binaries/utilities/Makefile @@ -1,6 +1,6 @@ H=@ -UTILITIES = create_environment parse_library list_uris +UTILITIES = create_environment parse_library list_uris test_library UTILITIES_OPT = $(patsubst %,%.opt,$(UTILITIES)) LINKOPTS = -linkpkg -thread LIBS = helm-cic_proof_checking @@ -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