Create a graphviz graph of a Makefile.
Project description
A Visualizer for Makefiles
DESCRIPTION
makefile2dot
produces a Graphviz dot
graph from a Makefile. To run it,
install graphviz
and python
. This version runs on python 3.
sudo apt-get install graphviz python
USAGE
makefile2dot
writes to stdout
by default, which can be read in by
graphviz
. So the nice trick is to pipe output from makefile2dot
directly in
to dot
. The Makefile
is read from stdin
to support piping input as well.
Example usage:
makefile2dot <Makefile | dot -Tpng > out.png
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
makefile2dot-0.1.0.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for makefile2dot-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 243a5520cd652832a502573228dba6e18b342f5bd7a426c71fbd7b6e975bf999 |
|
MD5 | 2024863501de5262f50198e0828229b3 |
|
BLAKE2b-256 | 34cb9b4c9ef4898554eac2d3b04411d10b78ee30dd73e1ce0e7154be4b9c1c2a |