]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/Makefile
Regular expressions.
[helm.git] / helm / software / lambda-delta / Makefile
index cb895593f90196d98c1fb6e1a538dca3a188e25e..3d8b6be48f1b139aaf7dbc5a05f652578db71ed5 100644 (file)
@@ -6,7 +6,7 @@ KEEP = README automath/*.aut
 
 CLEAN = etc/log.txt
 
-TAGS = test-si test-si-fast hal xml-si-drg xml-si profile
+TAGS = test-si test-si-fast hal xml-si-crg xml-si profile
 
 XMLS = xml/brg-si/grundlagen/l/not.ld.xml \
        xml/brg-si/grundlagen/l/et.ld.xml \
@@ -15,6 +15,8 @@ XMLS = xml/brg-si/grundlagen/l/not.ld.xml \
 
 include Makefile.common
 
+HOME = .
+
 INPUT = examples/grundlagen/grundlagen.aut
 
 test-si: $(MAIN).opt
@@ -27,20 +29,21 @@ test-si-fast: $(MAIN).opt
 
 profile: $(MAIN).opt
        @echo "  HELENA -u -q $(INPUT) (30 TIMES)"
-       $(H)for T in `seq 30`; do ./$(MAIN).opt -u -q -S 1 $(O) automath/grundlagen.aut >> etc/log.txt; done
-       $(H)grep "at exit" etc/log.txt | sort | uniq | less
+       $(H)rm etc/log.txt
+       $(H)for T in `seq 30`; do ./$(MAIN).opt -u -q -s 0 -S 1 $(O) $(INPUT) >> etc/log.txt; done
+       $(H)grep "at exit" etc/log.txt | sort | uniq > etc/profile.txt
 
 hal: $(MAIN).opt
        @echo "  HELENA -o -x -m $(INPUT)"
-       $(H)./$(MAIN).opt -o -x -m -s 1 -S 1 $(INPUT) > etc/log.txt
+       $(H)./$(MAIN).opt -o -x $(HOME) -m -s 1 -S 1 $(INPUT) > etc/log.txt
 
 xml-si: $(MAIN).opt
        @echo "  HELENA -u -x -s 2 $(INPUT)"
-       $(H)./$(MAIN).opt -u -x -s 2 -S 1 $(INPUT) > etc/log.txt
+       $(H)./$(MAIN).opt -u -x $(HOME) -s 2 -S 1 $(INPUT) > etc/log.txt
 
-xml-si-drg: $(MAIN).opt
+xml-si-crg: $(MAIN).opt
        @echo "  HELENA -u -x -s 1 $(INPUT)"
-       $(H)./$(MAIN).opt -u -x -s 1 -S 1 $(INPUT) > etc/log.txt
+       $(H)./$(MAIN).opt -u -x $(HOME) -s 1 -S 1 $(INPUT) > etc/log.txt
 
 %.ld: BASEURL = --stringparam baseurl $(LDDLURL)
 
@@ -85,4 +88,4 @@ test-si-fast-old: $(MAIN).opt
 
 xml-si-old: $(MAIN).opt
        @echo "  HELENA -o -u -x -s 2 $(INPUT)"
-       $(H)./$(MAIN).opt -o -u -x -s 2 -S 1 $(INPUT) > etc/log.txt
+       $(H)./$(MAIN).opt -o -u -x $(HOME) -s 2 -S 1 $(INPUT) > etc/log.txt