X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=ocaml%2FMakefile;h=f54b103d0713a21d5745a268d5418bb91b7fbdef;hb=c8d9c2fda6b135b29e81e3bea95520ba449b86e3;hp=6ff0e021614219c3fe0158d5de9a893aaa415f47;hpb=382508ec4c624977ad2950cbe0e9ae26ce7e41c8;p=fireball-separation.git diff --git a/ocaml/Makefile b/ocaml/Makefile index 6ff0e02..f54b103 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -2,16 +2,20 @@ OCAMLC = ocamlopt -g -rectypes LIB = unix.cmxa str.cmxa UTILS = parser.cmx console.cmx listx.cmx util.cmx pure.cmx num.cmx -all: a.out test.out test34.out +all: a.out test4.out + # test.out -a.out: $(UTILS) lambda3.cmx lambda4.cmx problems.cmx - $(OCAMLC) -o a.out $(LIB) $^ +run: test4.out + bash run -test.out: $(UTILS) lambda3.cmx test1.ml - $(OCAMLC) -o test.out $(LIB) $^ +a.out: $(UTILS) lambda4.cmx problems.cmx + $(OCAMLC) -o a.out $(LIB) $^ -test34.out: $(UTILS) lambda3.cmx lambda4.cmx test.ml - $(OCAMLC) -o test34.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) $^ %.cmi: %.mli $(OCAMLC) -c $< @@ -20,11 +24,11 @@ test34.out: $(UTILS) lambda3.cmx 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