]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/Makefile
Make the code OCaml-4.06.1-friendly
[fireball-separation.git] / ocaml / Makefile
index 430f1596fa5f6c5c529f15c4a32c3350276913c9..2557224f0f1397e830dfad21f0c753df47078b8d 100644 (file)
@@ -1,22 +1,24 @@
 OCAMLC = ocamlopt -g -rectypes
 LIB = unix.cmxa str.cmxa
-UTILS = util.cmx console.cmx listx.cmx pure.cmx num.cmx parser.cmx
+UTILS = util.cmx console.cmx listx.cmx pure.cmx num.cmx parser.cmx problems.cmx
 
-all: a.out test4.out
-       # test.out
+all: a.out test4.out simple.out simple_test.out
 
 run: test4.out
        bash run
 
-a.out: $(UTILS) lambda4.cmx problems.cmx
+a.out: $(UTILS) lambda4.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) $^
 
+simple.out: $(UTILS) simple.cmx
+       $(OCAMLC) -o simple.out $(LIB) $^
+
+simple_test.out: $(UTILS) simple.cmx simple_test.ml
+       $(OCAMLC) -o simple_test.out $(LIB) $^
+
 %.cmi: %.mli
        $(OCAMLC) -c $<