]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/Makefile
andrea7 -> new andrea9
[fireball-separation.git] / ocaml / Makefile
index 3310c6e6e827a3511fb647d35743c195e6cf5ac6..de63c63e0b3984ecc072e8ee650b49b8215572df 100644 (file)
@@ -2,22 +2,10 @@ 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: 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 andrea6.ml
-       $(OCAMLC) -o andrea.out $(LIB) $(UTILS) andrea6.ml
-
-#test2.out: $(UTILS) lambda3.ml test2.ml andrea
-#      ocamlc -o test2.out $(LIB) $(UTILS) lambda3.ml andrea4.ml test2.ml
+andrea.out: $(UTILS) andrea8.ml
+       $(OCAMLC) -o andrea.out $(LIB) $(UTILS) andrea8.ml
 
 %.cmi: %.mli
        $(OCAMLC) -c $<
@@ -26,7 +14,7 @@ andrea.out: $(UTILS) a.out andrea6.ml
        $(OCAMLC) -c $<
 
 clean:
-       rm -f *.cm* *.out .depend log
+       rm -f *.cm* *.out *.o .depend log
 
 .depend: *.ml *.mli
        ocamldep *.ml *.mli > .depend