makefile2graph
« Back to VersTracker
Description:
Create a graph of dependencies from GNU-Make
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: makefile build-system visualization dependencies graphviz developer-tools
Install: brew install makefile2graph
About:
Makefile2graph is a command-line utility that parses GNU Make output to generate dependency graphs. It analyzes build rules and their interdependencies, producing visual representations in Graphviz DOT format. This tool helps developers understand complex build systems and identify bottlenecks or circular dependencies.
Key Features:
  • Parses GNU Make output to extract dependency relationships
  • Generates Graphviz DOT format for visualization
  • Supports both static and dynamic dependency analysis
  • Command-line interface for easy integration into build pipelines
Use Cases:
  • Visualizing complex Makefile dependencies to understand build structure
  • Debugging build issues by identifying missing or circular dependencies
  • Documenting build system architecture for team knowledge sharing
  • Optimizing build performance by analyzing dependency chains
Alternatives:
  • make --debug – Built-in Make debugging shows dependencies but lacks visual graph output
  • cmake --graphviz – CMake-specific, generates graphs but requires CMake build system
Version History
Detected Version Rev Change Commit
Sep 16, 2025 3:03am 0 VERSION_BUMP 786aafb5
Sep 13, 2024 8:04pm 0 VERSION_BUMP eaa8ee70