X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=sidebyside;f=matita%2FMakefile;h=c0e31d64315558d6709e900a60e58f7429f9aed7;hb=c55226c2a9536b1483f578192bc79d317f7b1971;hp=6b93a0f6e4828f4667dbfcf7ca598c066ea0467e;hpb=dcd7c1a413c38bce8fc80198d660fd4dba4094e9;p=helm.git diff --git a/matita/Makefile b/matita/Makefile index 6b93a0f6e..c0e31d643 100644 --- a/matita/Makefile +++ b/matita/Makefile @@ -201,11 +201,14 @@ distclean: clean $(H)rm -rf .matita TEST_DIRS = \ + legacy \ library \ tests \ + dama \ + contribs/CoRN \ + contribs/RELATIONAL \ contribs/LAMBDA-TYPES \ contribs/PREDICATIVE-TOPOLOGY \ - contribs/RELATIONAL \ $(NULL) .PHONY: tests tests.opt cleantests cleantests.opt @@ -382,12 +385,18 @@ depend: $(H)$(OCAMLDEP) *.ml *.mli > .depend depend.opt: $(H)echo " OCAMLDEP -native" - $(H)$(OCAMLDEP) -native *.ml *.mli > .depend + $(H)$(OCAMLDEP) -native *.ml *.mli > .depend.opt + +ifeq ($(MAKECMDGOALS),) + include .depend +endif + +ifeq ($(MAKECMDGOALS), all) + include .depend +endif -ifneq ($(MAKECMDGOALS), depend) - ifneq ($(MAKECMDGOALS), depend.opt) - include .depend - endif +ifeq ($(MAKECMDGOALS), opt) + include .depend.opt endif %.cmi: %.mli