slackbuilds/system/makefile2graph
B. Watson e2fa83f969 system/makefile2graph: Added (dependency graphs from Makefile).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2017-04-08 06:57:41 +07:00
..
README system/makefile2graph: Added (dependency graphs from Makefile). 2017-04-08 06:57:41 +07:00
makefile2graph.SlackBuild system/makefile2graph: Added (dependency graphs from Makefile). 2017-04-08 06:57:41 +07:00
makefile2graph.info system/makefile2graph: Added (dependency graphs from Makefile). 2017-04-08 06:57:41 +07:00
slack-desc system/makefile2graph: Added (dependency graphs from Makefile). 2017-04-08 06:57:41 +07:00

README

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