1 OCAMLC = ocamlopt -g -rectypes
2 LIB = unix.cmxa str.cmxa
3 UTILS = util.cmx console.cmx listx.cmx pure.cmx num.cmx parser.cmx parser_andrea.cmx
5 all: a.out test4.out andrea.out
10 a.out: $(UTILS) lambda4.cmx problems.cmx
11 $(OCAMLC) -o a.out $(LIB) $^
13 test4.out: $(UTILS) lambda4.cmx test.ml
14 $(OCAMLC) -o test4.out $(LIB) $^
16 andrea.out: $(UTILS) andrea.ml
17 $(OCAMLC) -o andrea.out $(LIB) $(UTILS) andrea.ml
26 rm -f *.cm* *.out *.o .depend log
29 ocamldep *.ml *.mli > .depend