]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/contribs/LAMBDA-TYPES/Base-2/Makefile
fixed dependences
[helm.git] / helm / software / matita / contribs / LAMBDA-TYPES / Base-2 / Makefile
index f67b795810858f2816ccd3f5803fec2cde4067ca..fb110c559445e21a8de09e3eff8e8992b47f3093 100644 (file)
@@ -4,9 +4,8 @@ MMAS = $(shell find -name "*.mma")
 MAS = $(MMAS:%.mma=%.ma)
 
 %.ma: %.mma
-       echo -e "$< preamble.ma \npreamble.ma" > depends
        ../../../matitac.opt -dump $@ $< 2>/dev/null
-       ../../../matitadep.opt
+       $(MAKE) depend.opt
        ../../../matitac.opt $@
 
 $(DIR) all: $(MAS)
@@ -16,11 +15,16 @@ $(DIR).opt opt all.opt: $(MAS)
 clean:
        ../../../matitaclean
        rm -f $(MAS)
+       $(MAKE) depend
 clean.opt:
        ../../../matitaclean.opt
        rm -f $(MAS)
+       $(MAKE) depend.opt
+depend:
+       ../../../matitadep
+       cat depends_mma >> depends
+depend.opt:
+       ../../../matitadep.opt
+       cat depends_mma >> depends
 
-theory2.ma: theory2.mma ext/tactics2.ma ext/arith2.ma types/props2.ma blt/props2.ma plist/props2.ma 
-types/props2.ma: types/props2.mma types/defs2.ma 
-blt/props2.ma: blt/props2.mma blt/defs2.ma 
-plist/props2.ma: plist/props2.mma plist/defs2.ma 
+include .depend