X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=ocaml%2FMakefile;h=701d50ac0dfd5a9cc6c5912bc729dc6cce7f4a39;hb=71e6c4cffb65278e6b5fb25755775d6a51b76b8d;hp=b97d5afaef0e79f57d20bd836a7cf7a6ba39386e;hpb=55700f849759b51618eaed297344fb9119e53fe5;p=fireball-separation.git diff --git a/ocaml/Makefile b/ocaml/Makefile index b97d5af..701d50a 100644 --- a/ocaml/Makefile +++ b/ocaml/Makefile @@ -1,23 +1,11 @@ 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 parser.cmx -all: a.out test.out test34.out +all: andrea.out -a.out: $(UTILS) lambda3.cmx lambda4.cmx problems.cmx - $(OCAMLC) -o a.out $(LIB) $^ - -test.out: $(UTILS) lambda3.cmx test1.ml - $(OCAMLC) -o test.out $(LIB) $^ - -test34.out: $(UTILS) lambda3.cmx lambda4.cmx test.ml - $(OCAMLC) -o test34.out $(LIB) $^ - -andrea.out: $(UTILS) a.out andrea7.ml - $(OCAMLC) -o andrea.out $(LIB) $(UTILS) andrea7.ml - -#test2.out: $(UTILS) lambda3.ml test2.ml andrea -# ocamlc -o test2.out $(LIB) $(UTILS) lambda3.ml andrea4.ml test2.ml +andrea.out: $(UTILS) andrea.ml + $(OCAMLC) -o andrea.out $(LIB) $(UTILS) andrea.ml %.cmi: %.mli $(OCAMLC) -c $< @@ -26,11 +14,11 @@ andrea.out: $(UTILS) a.out andrea7.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