make2graph(1)
π make2graph β the manual page, but make it a group chat π
okay bestie, sit down, hydrate, because we're about to turn your GNU-Make dependency spaghetti into an actual picture π this is make2graph(1) and honestly? it's giving graph theory but make it cute.
β¨ NAME β¨
makefile2graph</purl> β creates a graph of dependencies from GNU-Make. yes the page is called make2graph but the program is makefile2graph, iykyk, they're the same girl π
πΈ SYNOPSIS πΈ
make -Bnd | make2graph > output.dot
that's it. that's the whole vibe. pipe it, catch it, redirect it. slay π«Ά
π¦ DESCRIPTION π¦
okay so here's the tea β: makefile2graph creates a graph of dependencies from GNU-Make. you feed it make's output, it hands you back a whole visual of who depends on what.
the output is either a graphviz-dot file or a Gexf-XML file β your choice, your era, your aesthetic β¨
β οΈ real talk though: sub-makefiles are NOT supported. no cap. don't come for me, that's just how it is π
π OPTIONS π
-fβ the format flex π here's the menu:(x)β XML output, aka gexf(E)β prints a list of the deepest targets (the final bosses π)(l)β prints a list of targets, periodt(d)β dot output, and this is the default babe, if you don't pick, you get dot
-bβ print the file basename-sβ print the file extension-rβ show the root node π± main character energy fr fr-vβ print version π
π SEE ALSO π
go read these too bestie, they're all icons in their own right:
π AUTHOR π
the one and only Pierre Lindenbaum (@yokofakun) β legend behaviour, honestly π
π that's the whole page bestie, go forth and graph π
mwah π β from the .1 manual, dated 17 Sept 2014. kiss kiss, stay hydrated, and remember: pipe responsibly π§β¨
π¦ where this page comes from
- debian bookworm: makefile2graph 2021.11.06-1+b1 Β· MIT
- debian trixie: makefile2graph 2021.11.06-1+b1 Β· MIT
- nixos 26.05: makefile2graph 2021.11.06
- nixpkgs unstable: makefile2graph 2021.11.06
- ubuntu jammy: makefile2graph 2021.11.06-1 Β· MIT
- ubuntu noble: makefile2graph 2021.11.06-1 Β· MIT
- ubuntu resolute: makefile2graph 2021.11.06-1build1 Β· MIT
- ubuntu stonking: makefile2graph 2021.11.06-1build1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms