]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/binaries/tptp2grafite/Makefile
dependences updated again :)
[helm.git] / helm / software / components / binaries / tptp2grafite / Makefile
index c8ea0ebf2f00858592a090117b057ba977b195dd..071bf8ddb8874215000070cfbe2a4fc28942dd5d 100644 (file)
@@ -1,5 +1,5 @@
 OCAMLC = OCAMLPATH=../../METAS ocamlfind ocamlc -package helm-grafite_parser
-TPTPDIR=/home/tassi/helm/trunk/TPTP-v3.1.1/
+TPTPDIR=/home/$(USER)/TPTP-v3.1.1/
 
 opt all: tptp2grafite
        echo -n
@@ -24,3 +24,16 @@ testall: tptp2grafite
        for X in `cat unit_equality_problems`; do\
                cat $(TPTPDIR)/$$X | ./tptp2grafite || echo ERROR PARSING $$X;\
        done
+
+generate:
+       for X in `cat unit_equality_problems`; do\
+               ./tptp2grafite -tptppath $(TPTPDIR) $$X \
+               > ../../../matita/tests/TPTP/$$X.ma || echo Failed: $$X; \
+       done
+
+parse:
+       for X in `cat unit_equality_problems`; do\
+         echo "Parsing $$X"; \
+               ./tptp2grafite -tptppath $(TPTPDIR) $$X \
+               > /dev/null || echo Failed: $$X; \
+       done