X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=ocaml%2FMakefile;h=fae0449c2c5cdf2e311c140b2b0d2f8d2944c43e;hb=6e5e1945c99404f171f90a93c18c336aaeaab546;hp=46242b1546576e0a85503491d3e874b5f42c3ba1;hpb=bd621e95f496a5cd40ca75548f32c063212b8987;p=fireball-separation.git diff --git a/ocaml/Makefile b/ocaml/Makefile index 46242b1..fae0449 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -1,24 +1,24 @@ 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 parser_andrea.cmx -all: a.out test4.out - # test.out +all: a.out test4.out simple.out simple_test.out -run: FORCE test4.out +run: test4.out bash run -FORCE: - a.out: $(UTILS) lambda4.cmx problems.cmx $(OCAMLC) -o a.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.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 $< @@ -26,7 +26,7 @@ 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