]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambda_delta/Makefile
Downgrades buggy destruct patch.
[helm.git] / matita / matita / contribs / lambda_delta / Makefile
index 005b69df79599c0a91365fd90d76c255eb3ca74d..964277d7f378f87e721a04630495d4871d43868d 100644 (file)
@@ -1,9 +1,15 @@
-H       = @
-XOA_DIR = ../../../components/binaries/xoa
-XOA     = xoa.native
+H        = @
+XOA_DIR  = ../../../components/binaries/xoa
+XOA      = xoa.native
+DEP_DIR  = ../../../components/binaries/matitadep
+DEP      = matitadep.native
 
-CONF    = ground_2/xoa.conf.xml
-TARGETS = ground_2/xoa_natation.ma ground_2/xoa.ma
+CONF     = ground_2/xoa.conf.xml
+TARGETS  = ground_2/xoa_natation.ma ground_2/xoa.ma
+
+ORIG     = . ./orig.sh 
+
+ORIGS    = basic_2/basic_1.orig
 
 PACKAGES = ground_2 basic_2 apps_2
 
@@ -17,6 +23,20 @@ $(TARGETS): $(CONF)
        @echo "  EXEC $(XOA) $(CONF)"
        $(H)MATITA_RT_BASE_DIR=../.. $(XOA_DIR)/$(XOA) $(CONF)
 
+# orig #######################################################################
+
+orig: $(ORIGS)
+       @echo "  ORIG basic_2"
+       $(H)$(ORIG) basic_2 < $(ORIGS)
+
+# dep ########################################################################
+
+deps: MAS = $(shell find $* -name "*.ma")
+
+deps: $(DEP_DIR)/$(DEP)
+       @echo "  MATITADEP"
+       $(H)grep "include \"" $(MAS) | $<
+
 # stats ######################################################################
 
 stats: $(PACKAGES:%=%.stats)