Thomas Frohwein wrote:
On Sun, 6 Sep 2026 23:34:00 +0000
David Uhden Collado <[email protected]> wrote:
devel/checkmake
checkmake is a linter and static analyzer for Makefiles:
https://github.com/checkmake/checkmake
Key question: just GNU Makefiles or also BSD Makefiles?
It primarily targets GNU-style Makefiles.
The parser handles the common Make syntax, so some checks will also work
on BSD Makefiles, but it does not properly understand BSD make
constructs such as .include, .if, .for, etc. In fact, the parser is
intentionally minimal rather than a complete make grammar.