X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2FMakefile;h=c0e31d64315558d6709e900a60e58f7429f9aed7;hb=b58635b318fef52cca7711cdeffde2d950e75671;hp=5cf295834c45848be4ce041c57d07fd380de3943;hpb=7e2e9e77f441f5d75844710ce88ae7095157bd92;p=helm.git diff --git a/helm/software/matita/Makefile b/helm/software/matita/Makefile index 5cf295834..c0e31d643 100644 --- a/helm/software/matita/Makefile +++ b/helm/software/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