X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=ocaml%2FMakefile;h=430f1596fa5f6c5c529f15c4a32c3350276913c9;hb=4f1d4ac662d6aeb8e63ddcd4575f9ef6313a565b;hp=b4b12e06da3fc9e398bc7e4c9c4e8e001c75ba63;hpb=f804e82c47ca8a25f3044ae630988af4b8da7b25;p=fireball-separation.git diff --git a/ocaml/Makefile b/ocaml/Makefile index b4b12e0..430f159 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -1,10 +1,13 @@ 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 all: a.out test4.out # test.out +run: test4.out + bash run + a.out: $(UTILS) lambda4.cmx problems.cmx $(OCAMLC) -o a.out $(LIB) $^ @@ -21,11 +24,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