Skip to main content

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

Tips

To test this project in the source directoy, add the source directory to the python path:

$ export PYTHONPATH=.

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.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

makefile2dot-0.1.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page