feat : dot command
This commit is contained in:
parent
74a38b8871
commit
d969dd7fcf
1 changed files with 6 additions and 0 deletions
6
Makefile
6
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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue