]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/Makefile
Bug in mk_app with C
[fireball-separation.git] / ocaml / Makefile
index d5c830bc09aa0205464b8c2610c62fbbbcdab8c2..fae0449c2c5cdf2e311c140b2b0d2f8d2944c43e 100644 (file)
@@ -2,7 +2,7 @@ OCAMLC = ocamlopt -g -rectypes
 LIB = unix.cmxa str.cmxa
 UTILS = util.cmx console.cmx listx.cmx pure.cmx num.cmx parser.cmx parser_andrea.cmx
 
-all: a.out test4.out simple.out
+all: a.out test4.out simple.out simple_test.out
 
 run: test4.out
        bash run
@@ -16,6 +16,9 @@ test4.out: $(UTILS) lambda4.cmx test.ml
 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 $<