]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/Makefile
Bug in mk_app with C
[fireball-separation.git] / ocaml / Makefile
index 138cc993df503965ecc571ceb1d9f8e177c0707b..fae0449c2c5cdf2e311c140b2b0d2f8d2944c43e 100644 (file)
@@ -1,8 +1,8 @@
 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 parser_andrea.cmx
 
-all: a.out test4.out
+all: a.out test4.out simple.out simple_test.out
 
 run: test4.out
        bash run
@@ -13,6 +13,12 @@ a.out: $(UTILS) lambda4.cmx problems.cmx
 test4.out: $(UTILS) lambda4.cmx test.ml
        $(OCAMLC) -o test4.out $(LIB) $^
 
+simple.out: $(UTILS) simple.ml
+       $(OCAMLC) -o simple.out $(LIB) $(UTILS) simple.ml
+
+simple_test.out: $(UTILS) simple.cmx simple_test.ml
+       $(OCAMLC) -o simple_test.out $(LIB) $^
+
 %.cmi: %.mli
        $(OCAMLC) -c $<