summaryrefslogtreecommitdiffstats
path: root/system/makefile2graph/README
blob: 6df1fa180b7c38fdc67e975c62aa22db65b451c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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