]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/contribs/lambda_delta/Makefile
- lambda_delta: subject reduction for nativa type assignment begins ...
[helm.git] / matita / matita / contribs / lambda_delta / Makefile
index 119eafc5b4fb3fc26015ca1a7df1296625e4bf66..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)
@@ -62,7 +82,7 @@ stats: $(PACKAGES:%=%.stats)
 # summary ####################################################################
 
 define SUMMARY_TEMPLATE
-  TBL_$(1) := $(1)/ld_$(1)_sum.tbl  
+  TBL_$(1) := $(1)/$(1)_sum.tbl  
   MAS_$(1) := $$(shell find $(1) -name "*.ma")
   TBLS     += $$(TBL_$(1))