]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/Makefile
Added check with purification to andrea.ml
[fireball-separation.git] / ocaml / Makefile
index 46242b1546576e0a85503491d3e874b5f42c3ba1..5859d5177b8797415c801b47166d0bcf336459d7 100644 (file)
@@ -1,24 +1,21 @@
 OCAMLC = ocamlopt -g -rectypes
 LIB = unix.cmxa str.cmxa
-UTILS = parser.cmx console.cmx listx.cmx util.cmx pure.cmx num.cmx
+UTILS = util.cmx console.cmx listx.cmx pure.cmx num.cmx parser.cmx parser_andrea.cmx
 
-all: a.out test4.out
-       # test.out
+all: a.out test4.out andrea.out
 
-run: FORCE test4.out
+run: test4.out
        bash run
 
-FORCE:
-
 a.out: $(UTILS) lambda4.cmx problems.cmx
        $(OCAMLC) -o a.out $(LIB) $^
 
-# test.out: $(UTILS) lambda3.cmx test1.ml
-#      $(OCAMLC) -o test.out $(LIB) $^
-#
 test4.out: $(UTILS) lambda4.cmx test.ml
        $(OCAMLC) -o test4.out $(LIB) $^
 
+andrea.out: $(UTILS) andrea.ml
+       $(OCAMLC) -o andrea.out $(LIB) $(UTILS) andrea.ml
+
 %.cmi: %.mli
        $(OCAMLC) -c $<
 
@@ -26,7 +23,7 @@ test4.out: $(UTILS) lambda4.cmx test.ml
        $(OCAMLC) -c $<
 
 clean:
-       rm -f *.cm* *.out .depend log
+       rm -f *.cm* *.out *.o .depend log
 
 .depend: *.ml *.mli
        ocamldep *.ml *.mli > .depend