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
8 a.out: $(UTILS) lambda4.cmx problems.cmx
9 $(OCAMLC) -o a.out $(LIB) $^
11 # test.out: $(UTILS) lambda3.cmx test1.ml
12 # $(OCAMLC) -o test.out $(LIB) $^
14 test4.out: $(UTILS) lambda4.cmx test.ml
15 $(OCAMLC) -o test4.out $(LIB) $^
24 rm -f *.cm* *.out .depend log
27 ocamldep *.ml *.mli > .depend