blob: 83928d5f3cac6734354d88af15dece2bded60535 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
makefile2graph (creates a dependency graph from a Makefile)
Creates a graph of dependencies from GNU make Makefile.
Output is a graphviz dot file, a Gexf-XML file, or a list of the
deepest independent targets that should be made. Sub-Makefiles are not
supported.
Optional dependencies: To actually generate visual graphs, you will
need or or both of:
graphics/graphviz
graphics/graph-easy
Example: If there's a Makefile in the current directory, try this:
make -Bnd | make2graph | dot -Tpng > graph.png
|