You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
echo "// Running from dir $PWD"
|
|
echo 'digraph g {'
|
|
for f in $(ls *.cpp *.h)
|
|
do
|
|
echo "$(echo "$f" | sed 's/\./_/g') [label=\"$f\"]"
|
|
for g in $(fgrep -l "#include \"$f\"" *)
|
|
do
|
|
echo "$g -> $f" | sed 's/\./_/g'
|
|
done
|
|
done
|
|
echo '}'
|