X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=ocaml%2FMakefile;h=5ce48854de212e6b571afaf74dbb37adaa9c97f6;hb=refs%2Fheads%2Fstrong_simple_measure;hp=b4b12e06da3fc9e398bc7e4c9c4e8e001c75ba63;hpb=f804e82c47ca8a25f3044ae630988af4b8da7b25;p=fireball-separation.git diff --git a/ocaml/Makefile b/ocaml/Makefile index b4b12e0..5ce4885 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -1,18 +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 -a.out: $(UTILS) lambda4.cmx problems.cmx - $(OCAMLC) -o a.out $(LIB) $^ +run: lambda4_test.out + bash run -# test.out: $(UTILS) lambda3.cmx test1.ml -# $(OCAMLC) -o test.out $(LIB) $^ -# -test4.out: $(UTILS) lambda4.cmx test.ml - $(OCAMLC) -o test4.out $(LIB) $^ +lambda4.out: $(UTILS) lambda4.cmx + $(OCAMLC) -o lambda4.out $(LIB) $^ + +lambda4_test.out: $(UTILS) lambda4.cmx test.ml + $(OCAMLC) -o lambda4_test.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 $< @@ -21,11 +26,11 @@ test4.out: $(UTILS) lambda4.cmx test.ml $(OCAMLC) -c $< clean: - rm -f *.cm* *.out .depend log + rm -f *.cm* *.out *.o .depend log .depend: *.ml *.mli ocamldep *.ml *.mli > .depend include .depend -.PHONY: clean all +.PHONY: clean all run