OCAMLC = ocamlopt -g -rectypes
LIB = unix.cmxa str.cmxa
-UTILS = util.cmx console.cmx parser.cmx
+UTILS = util.cmx console.cmx listx.cmx pure.cmx num.cmx parser.cmx problems.cmx
-all: andrea.out
+all: simple.out simple_test.out
-andrea.out: $(UTILS) andrea.ml
- $(OCAMLC) -o andrea.out $(LIB) $(UTILS) andrea.ml
+simple.out: $(UTILS) simple.cmx
+ $(OCAMLC) -o simple.out $(LIB) $^
+
+simple_test.out: $(UTILS) simple.cmx simple_test.ml
+ $(OCAMLC) -o simple_test.out $(LIB) $^
%.cmi: %.mli
$(OCAMLC) -c $<