]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/Makefile
New interesting example
[fireball-separation.git] / ocaml / Makefile
index fae0449c2c5cdf2e311c140b2b0d2f8d2944c43e..5ce48854de212e6b571afaf74dbb37adaa9c97f6 100644 (file)
@@ -1,20 +1,20 @@
 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
+UTILS = util.cmx console.cmx listx.cmx pure.cmx num.cmx parser.cmx problems.cmx
 
-all: a.out test4.out simple.out simple_test.out
+all: lambda4.out lambda4_test.out simple.out simple_test.out
 
-run: test4.out
+run: lambda4_test.out
        bash run
 
-a.out: $(UTILS) lambda4.cmx problems.cmx
-       $(OCAMLC) -o a.out $(LIB) $^
+lambda4.out: $(UTILS) lambda4.cmx
+       $(OCAMLC) -o lambda4.out $(LIB) $^
 
-test4.out: $(UTILS) lambda4.cmx test.ml
-       $(OCAMLC) -o test4.out $(LIB) $^
+lambda4_test.out: $(UTILS) lambda4.cmx test.ml
+       $(OCAMLC) -o lambda4_test.out $(LIB) $^
 
-simple.out: $(UTILS) simple.ml
-       $(OCAMLC) -o simple.out $(LIB) $(UTILS) simple.ml
+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) $^