outline makefiles

This commit is contained in:
2025-02-07 23:40:13 +01:00
parent 7427b05b0b
commit 2250275be5
3 changed files with 257 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
---
title: "Makefile Graphs"
tags: [ "system", "makefiles", "graph" ]
---
If you have `graph-easy` (often in the package `perl-graph-easy` or similar), you can make a graph from the makefile with `make2graph` (the package is often called `makefile2graph`).
Start with the command to 'make all targets' (`-B`), and 'do a dummy run' (`-n`) with debug into (`-d`):
```bash
make -Bnd
make -Bnd | make2graph
make -Bnd | make2graph | graph-easy --boxart
```