]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/lambda-delta/Makefile
- we simplified the parser return values
[helm.git] / helm / software / lambda-delta / Makefile
index 3d8b6be48f1b139aaf7dbc5a05f652578db71ed5..6a0724a871b0cd77719f8b32c59e22ecb5364432 100644 (file)
@@ -19,32 +19,36 @@ HOME = .
 
 INPUT = examples/grundlagen/grundlagen.aut
 
-test-si: $(MAIN).opt
+test-si: $(MAIN).opt etc
        @echo "  HELENA -p -u $(INPUT)"
        $(H)./$(MAIN).opt -p -u -S 3 $(O) $(INPUT) > etc/log.txt
 
-test-si-fast: $(MAIN).opt
+test-si-fast: $(MAIN).opt etc
        @echo "  HELENA -u -q $(INPUT)"
        $(H)./$(MAIN).opt -u -q -S 1 $(O) $(INPUT) > etc/log.txt
 
-profile: $(MAIN).opt
+profile: $(MAIN).opt etc
        @echo "  HELENA -u -q $(INPUT) (30 TIMES)"
        $(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
+       $(H)for T in `seq 30`; do ./$(MAIN).opt -u -q -s 3 -S 1 $(O) $(INPUT) >> etc/log.txt; done
+       $(H)grep "at exit" etc/log.txt | sort | uniq > etc/profile-new.txt
 
-hal: $(MAIN).opt
+hal: $(MAIN).opt etc
        @echo "  HELENA -o -x -m $(INPUT)"
        $(H)./$(MAIN).opt -o -x $(HOME) -m -s 1 -S 1 $(INPUT) > etc/log.txt
 
-xml-si: $(MAIN).opt
+xml-si: $(MAIN).opt etc
        @echo "  HELENA -u -x -s 2 $(INPUT)"
        $(H)./$(MAIN).opt -u -x $(HOME) -s 2 -S 1 $(INPUT) > etc/log.txt
 
-xml-si-crg: $(MAIN).opt
+xml-si-crg: $(MAIN).opt etc
        @echo "  HELENA -u -x -s 1 $(INPUT)"
        $(H)./$(MAIN).opt -u -x $(HOME) -s 1 -S 1 $(INPUT) > etc/log.txt
 
+etc:
+       @echo "  MKDIR etc"
+       $(H)mkdir etc
+
 %.ld: BASEURL = --stringparam baseurl $(LDDLURL)
 
 %.ld:
@@ -74,18 +78,18 @@ install-xml: etc/make-html.sh
 
 # old targets ##########################################################
 
-test: $(MAIN).opt
+test: $(MAIN).opt etc
        @echo "  HELENA -o -p $(INPUT)"
        $(H)./$(MAIN).opt -o -p -S 3 $(O) $(INPUT) > etc/log.txt
 
-test-si-old: $(MAIN).opt
+test-si-old: $(MAIN).opt etc
        @echo "  HELENA -o -p -u $(INPUT)"
        $(H)./$(MAIN).opt -o -p -u -S 3 $(O) $(INPUT) > etc/log.txt
 
-test-si-fast-old: $(MAIN).opt
+test-si-fast-old: $(MAIN).opt etc
        @echo "  HELENA -o -u -q $(INPUT)"
        $(H)./$(MAIN).opt -o -u -q -S 1 $(O) $(INPUT) > etc/log.txt
 
-xml-si-old: $(MAIN).opt
+xml-si-old: $(MAIN).opt etc
        @echo "  HELENA -o -u -x -s 2 $(INPUT)"
        $(H)./$(MAIN).opt -o -u -x $(HOME) -s 2 -S 1 $(INPUT) > etc/log.txt