]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/Makefile
Clean-up to examples. Removed tests.
[fireball-separation.git] / ocaml / Makefile
index 6ff0e021614219c3fe0158d5de9a893aaa415f47..701d50ac0dfd5a9cc6c5912bc729dc6cce7f4a39 100644 (file)
@@ -1,17 +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) andrea.ml
+       $(OCAMLC) -o andrea.out $(LIB) $(UTILS) andrea.ml
 
 %.cmi: %.mli
        $(OCAMLC) -c $<
@@ -20,11 +14,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