Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Benoit Viguier
coq-verif-tweetnacl
Commits
04501f09
Commit
04501f09
authored
Feb 14, 2019
by
Benoit Viguier
Browse files
add graph
parent
0076f329
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
04501f09
...
...
@@ -22,8 +22,8 @@ _CoqProject
*#
.#*
*.aux
graph
.dpd
graph
.png
*
.dpd
gen_
graph
*
*.bck
*.bak
...
...
Makefile.local
View file @
04501f09
...
...
@@ -4,12 +4,12 @@ clean::
$(HIDE)
rm
*
/.
*
.aux 2> /dev/null
||
true
$(HIDE)
rm
*
/
*
.glob 2> /dev/null
||
true
$(HIDE)
rm
*
/
*
.v.d 2> /dev/null
||
true
$(HIDE)
rm
graph.dpd 2> /dev/null
||
true
$(HIDE)
rm
graph.png 2> /dev/null
||
true
$(HIDE)
rm
*
.dpd 2> /dev/null
||
true
DPD
=
$(
wildcard
*
.dpd
)
DOT
=
$(DPD:%.dpd=%.dot)
PNG
=
$(DPD:%.dpd=%.png)
PDF
=
$(DPD:%.dpd=%.pdf)
%.dot
:
%.dpd
dpd2dot
$<
...
...
@@ -17,4 +17,8 @@ PNG = $(DPD:%.dpd=%.png)
%.png
:
%.dot
dot
-Tpng
$<
-o
$@
%.pdf
:
%.dot
dot
-Tpdf
$<
-o
$@
graph
:
$(PNG)
pdf
:
$(PDF)
gen_graph.py
View file @
04501f09
...
...
@@ -26,7 +26,7 @@ def main():
output
=
requires
+
'
\n
'
output
+=
'Require dpdgraph.dpdgraph.
\n
'
output
+=
'Set DependGraph File "
graph
.dpd".
\n
'
output
+=
'Set DependGraph File "
main
.dpd".
\n
'
output
+=
prints
+
'.
\n
'
# print(list_parse)
print
(
output
)
...
...
@@ -49,7 +49,7 @@ def main():
output
=
requires
+
'
\n
'
output
+=
'Require dpdgraph.dpdgraph.
\n
'
output
+=
'Set DependGraph File "
grap
h.dpd".
\n
'
output
+=
'Set DependGraph File "
hig
h.dpd".
\n
'
output
+=
prints
+
'.
\n
'
# print(list_parse)
print
(
output
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment