LIB = unix.cmxa str.cmxa
UTILS = util.cmx console.cmx listx.cmx pure.cmx num.cmx parser.cmx problems.cmx
-all: a.out test4.out simple.out simple_test.out
+all: lambda4.out lambda4_test.out simple.out simple_test.out
-run: test4.out
+run: lambda4_test.out
bash run
-a.out: $(UTILS) lambda4.cmx
- $(OCAMLC) -o a.out $(LIB) $^
+lambda4.out: $(UTILS) lambda4.cmx
+ $(OCAMLC) -o lambda4.out $(LIB) $^
-test4.out: $(UTILS) lambda4.cmx test.ml
- $(OCAMLC) -o test4.out $(LIB) $^
+lambda4_test.out: $(UTILS) lambda4.cmx test.ml
+ $(OCAMLC) -o lambda4_test.out $(LIB) $^
simple.out: $(UTILS) simple.cmx
$(OCAMLC) -o simple.out $(LIB) $^
trap 'echo' SIGINT
-./test4.out 2>&1 | tee $file | stdbuf -o0 grep -Po '(?<=measure=)[^ ]*' | stdbuf -o0 tr '\n' ' '
+./lambda4_test.out 2>&1 | tee $file | stdbuf -o0 grep -Po '(?<=measure=)[^ ]*' | stdbuf -o0 tr '\n' ' '
if [ $? -eq 0 ]
then