src?=1 dest?=2 build: @echo "\n==== COMPILING ====\n" ocamlbuild ftest.native format: ocp-indent --inplace src/* edit: code . -n demo: build @echo "\n==== EXECUTING ====\n" ./ftest.native graphs/graph1 $(src) $(dest) outfile @echo "\n==== RESULT ==== (content of outfile) \n" @cat outfile clean: -rm -rf _build/ -rm ftest.native svg: dot -Tsvg outfile > graph.svg