make2graph(1)

make2graph1

Creates a graph of dependencies from gnu-make

Usage

make {-Bnd | make2graph > output.dot}

Overview

Creates a graph of dependencies from GNU-Make; Output is a graphiz-dot file or a Gexf-XML file. sub-makefiles are not supported.

Options

-f

formats :(x) XML output (gexf), (E) print a list of deepest targets, (l) print a list of targets, (d) dot output (default)

-b

print file basename

-s

print file extension

-r

show root node

-v

print version

Releases

Unchanged in 3 releases since Debian 11 (Bullseye).

  1. 11–13

Author

Pierre Lindenbaum (@yokofakun)

From makefile2graph 2021.11.06-1+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.