]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/helena/Makefile
exportation to \lambda\delta representation in elpi
[helm.git] / helm / software / helena / Makefile
index 5f17bc89b9cf95b890cba71dd38bb0f6e0e65c4f..c0d702cf7170bd46b9532fae13846ab3d1bd69b8 100644 (file)
@@ -10,10 +10,10 @@ KEEP = README
 
 CLEAN = etc/log.txt etc/profile.txt
 
-TAGS = test-si-fast test-si test \
+TAGS = test-si-fast test-si test2 test3 test6 \
        profile-fast profile profile-coq \
        xml-si xml-si-v3 xml xml-v3 \
-       export-coq export-matita \
+       export-coq export-matita export-elpi \
        matita matitac
 
 include Makefile.common
@@ -30,11 +30,13 @@ INPUT = examples/automath/grundlagen_2.aut
 
 INPUTFAST = examples/automath/grundlagen_1.aut
 
-MA = grundlagen_2.ma
-V  = grundlagen_2.v
+MA   = grundlagen_2.ma
+V    = grundlagen_2.v
+ELPI = grundlagen_2.elpi
 
-PREAMBLE_MA = ../matita/matita.ma.templ
-PREAMBLE_V  = coq/grundlagen.template
+PREAMBLE_MA   = ../matita/matita.ma.templ
+PREAMBLE_V    = coq/grundlagen.template
+PREAMBLE_ELPI = elpi/grundlagen.template
 
 test-si-fast: $(MAIN).opt etc
        @echo "  HELENA -o -q -1 $(INPUTFAST)"
@@ -44,9 +46,17 @@ test-si: $(MAIN).opt etc
        @echo "  HELENA -d -l -p -o $(INPUT)"
        $(H)./$(MAIN).opt -T 2 -d -l -p -o $(O) $(INPUT) > etc/log.txt
 
-test: $(MAIN).opt etc
+test2: $(MAIN).opt etc
        @echo "  HELENA -d -l $(INPUT)"
-       $(H)./$(MAIN).opt -l -o $(INPUT) -X -T 2 -d -l $(INPUT) > etc/log.txt
+       $(H)./$(MAIN).opt -l -o $(INPUT) -X -T 2 -d -l $(O) $(INPUT) > etc/log.txt
+
+test3: $(MAIN).opt etc
+       @echo "  HELENA -d -l $(INPUT)"
+       $(H)./$(MAIN).opt -l -o $(INPUT) -X -T 3 -d -l $(O) $(INPUT) > etc/log.txt
+
+test6: $(MAIN).opt etc
+       @echo "  HELENA -d -l $(INPUT)"
+       $(H)./$(MAIN).opt -l -o $(INPUT) -X -T 6 -d -l $(O) $(INPUT) > etc/log.txt
 
 xml-si: $(MAIN).opt etc
        @echo "  HELENA -l -o -s 1 -x $(INPUT)"
@@ -74,6 +84,11 @@ export-matita matita/$(MA): $(MAIN).opt etc
        $(H)mkdir -p matita
        $(H)./$(MAIN).opt -T 1 -a n -c $(PREAMBLE_MA) -l -m MA2 -o $(O) $(INPUT) > etc/log.txt
 
+export-elpi elpi/$(ELPI): $(MAIN).opt etc
+       @echo "  HELENA -l -m ELPI -o $(INPUT)"
+       $(H)mkdir -p elpi
+       $(H)./$(MAIN).opt -T 1 -a n -c $(PREAMBLE_ELPI) -l -m ELPI -o $(O) $(INPUT) > etc/log.txt
+
 profile-fast: $(MAIN).opt etc
        @echo "  HELENA -o -q $(INPUTFAST) (31 TIMES)"
        $(H)rm -f etc/log.txt