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 simple.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 simple.out: $(UTILS) simple.ml
17 $(OCAMLC) -o simple.out $(LIB) $(UTILS) simple.ml
26 rm -f *.cm* *.out *.o .depend log
29 ocamldep *.ml *.mli > .depend