]> matita.cs.unibo.it Git - fireball-separation.git/blob - ocaml/Makefile
andrea7 -> new andrea9
[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: andrea.out
6
7 andrea.out: $(UTILS) andrea8.ml
8         $(OCAMLC) -o andrea.out $(LIB) $(UTILS) andrea8.ml
9
10 %.cmi: %.mli
11         $(OCAMLC) -c $<
12
13 %.cmx: %.ml %.cmi
14         $(OCAMLC) -c $<
15
16 clean:
17         rm -f *.cm* *.out *.o .depend log
18
19 .depend: *.ml *.mli
20         ocamldep *.ml *.mli > .depend
21
22 include .depend
23
24 .PHONY: clean all