X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=ocaml%2FMakefile;h=5ce48854de212e6b571afaf74dbb37adaa9c97f6;hb=4d85faf22614fae57d4b0c45a5699258a9274272;hp=b44d9c51460cc62e1f8c130c185c59d5d2a12c01;hpb=b43eae43cb85e7b20dc5058aae4ada662025f882;p=fireball-separation.git diff --git a/ocaml/Makefile b/ocaml/Makefile index b44d9c5..5ce4885 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -1,23 +1,23 @@ 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 problems.cmx -all: a.out test4.out - # test.out +all: lambda4.out lambda4_test.out simple.out simple_test.out -run: FORCE test4.out +run: lambda4_test.out bash run -FORCE: +lambda4.out: $(UTILS) lambda4.cmx + $(OCAMLC) -o lambda4.out $(LIB) $^ -a.out: $(UTILS) lambda4.cmx problems.cmx - $(OCAMLC) -o a.out $(LIB) $^ +lambda4_test.out: $(UTILS) lambda4.cmx test.ml + $(OCAMLC) -o lambda4_test.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 $<