]> matita.cs.unibo.it Git - fireball-separation.git/blob - ocaml/Makefile
Removed lambda3 + Fixed lambda4
[fireball-separation.git] / ocaml / Makefile
1 OCAMLC = ocamlopt -g -rectypes
2 LIB = unix.cmxa str.cmxa
3 UTILS = parser.cmx console.cmx listx.cmx util.cmx pure.cmx num.cmx
4
5 all: a.out test4.out
6         # test.out
7
8 a.out: $(UTILS) lambda4.cmx problems.cmx
9         $(OCAMLC) -o a.out $(LIB) $^
10
11 # test.out: $(UTILS) lambda3.cmx test1.ml
12 #       $(OCAMLC) -o test.out $(LIB) $^
13 #
14 test4.out: $(UTILS) lambda4.cmx test.ml
15         $(OCAMLC) -o test4.out $(LIB) $^
16
17 %.cmi: %.mli
18         $(OCAMLC) -c $<
19
20 %.cmx: %.ml %.cmi
21         $(OCAMLC) -c $<
22
23 clean:
24         rm -f *.cm* *.out .depend log
25
26 .depend: *.ml *.mli
27         ocamldep *.ml *.mli > .depend
28
29 include .depend
30
31 .PHONY: clean all