X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=inline;f=matita%2FMakefile;h=c0e31d64315558d6709e900a60e58f7429f9aed7;hb=3bafc89087dbae27457924b4e616e16804a3cfc2;hp=896529cf43b4ccb6f412278c63abb43fe4acf580;hpb=92a345e67066fc5a039a87b0fb07caa838103780;p=helm.git diff --git a/matita/Makefile b/matita/Makefile index 896529cf4..c0e31d643 100644 --- a/matita/Makefile +++ b/matita/Makefile @@ -201,11 +201,15 @@ distclean: clean $(H)rm -rf .matita TEST_DIRS = \ + legacy \ library \ tests \ + dama \ + contribs/CoRN \ + contribs/RELATIONAL \ + contribs/LAMBDA-TYPES \ + contribs/PREDICATIVE-TOPOLOGY \ $(NULL) -# contribs/LAMBDA-TYPES \ -# contribs/PREDICATIVE-TOPOLOGY \ .PHONY: tests tests.opt cleantests cleantests.opt tests: $(foreach d,$(TEST_DIRS),$(d)-test) @@ -381,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 -ifneq ($(MAKECMDGOALS), depend) - ifneq ($(MAKECMDGOALS), depend.opt) - include .depend - endif +ifeq ($(MAKECMDGOALS),) + include .depend +endif + +ifeq ($(MAKECMDGOALS), all) + include .depend +endif + +ifeq ($(MAKECMDGOALS), opt) + include .depend.opt endif %.cmi: %.mli