LIB = unix.cmxa str.cmxa
UTILS = util.cmx console.cmx listx.cmx pure.cmx num.cmx parser.cmx parser_andrea.cmx
-all: a.out test4.out andrea.out
+all: a.out test4.out simple.out simple_test.out
run: test4.out
bash run
test4.out: $(UTILS) lambda4.cmx test.ml
$(OCAMLC) -o test4.out $(LIB) $^
-andrea.out: $(UTILS) andrea.ml
- $(OCAMLC) -o andrea.out $(LIB) $(UTILS) andrea.ml
+simple.out: $(UTILS) simple.ml
+ $(OCAMLC) -o simple.out $(LIB) $(UTILS) simple.ml
+
+simple_test.out: $(UTILS) simple.cmx simple_test.ml
+ $(OCAMLC) -o simple_test.out $(LIB) $^
%.cmi: %.mli
$(OCAMLC) -c $<