makefile2dot icon indicating copy to clipboard operation
makefile2dot copied to clipboard

Visualize your Makefile using GraphViz dot utility

trafficstars

A quick-n-dirty visualizer for Makefiles

DISCLAIMER: I've spent an hour to visualize a large Makefile I needed. So, sorry if it won't work for you.

DESCRIPTION

makefile2dot has been written to visualize Makefiles, e.g. GNU make Makefile. It is written in Python and implies that you have Python and GraphViz "dot" utility installed:

sudo apt-get install graphviz python

USAGE

python makefile2dot <Makefile >out.dot

or

python makefile2dot <Makefile |dot -Tpng > out.png

Example

This example Makefile will result in this png-image:

ScreenShot

Bitdeli Badge