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 problems.cmx
5 all: simple.out simple_test.out
7 simple.out: $(UTILS) simple.cmx
8 $(OCAMLC) -o simple.out $(LIB) $^
10 simple_test.out: $(UTILS) simple.cmx simple_test.ml
11 $(OCAMLC) -o simple_test.out $(LIB) $^
20 rm -f *.cm* *.out *.o .depend log
23 ocamldep *.ml *.mli > .depend