X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2FMakefile;h=c0e31d64315558d6709e900a60e58f7429f9aed7;hb=3bafc89087dbae27457924b4e616e16804a3cfc2;hp=5cf295834c45848be4ce041c57d07fd380de3943;hpb=8b83110b699f1c9fa561e0c2c863419604411e56;p=helm.git diff --git a/matita/Makefile b/matita/Makefile index 5cf295834..c0e31d643 100644 --- a/matita/Makefile +++ b/matita/Makefile @@ -201,8 +201,11 @@ distclean: clean $(H)rm -rf .matita TEST_DIRS = \ + legacy \ library \ tests \ + dama \ + contribs/CoRN \ contribs/RELATIONAL \ contribs/LAMBDA-TYPES \ contribs/PREDICATIVE-TOPOLOGY \ @@ -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 -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