]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/Makefile
attributes now in the proof status: commit 1
[helm.git] / matita / Makefile
index 6b93a0f6e4828f4667dbfcf7ca598c066ea0467e..c0e31d64315558d6709e900a60e58f7429f9aed7 100644 (file)
@@ -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