diff --git a/Makefile b/Makefile index f63a179..d80c165 100644 --- a/Makefile +++ b/Makefile @@ -3,6 +3,7 @@ src?=0 dst?=5 graph?=graph1.txt +graphdot?=outfile all: build @@ -27,3 +28,8 @@ clean: find -L . -name "*~" -delete rm -f *.exe dune clean + +dot: + dot -Tsvg $(graphdot) > /tmp/imgdot.svg + xdg-open /tmp/imgdot.svg +