Index | Thread | Search

From:
David Uhden Collado <daviduhden@gmail.com>
Subject:
Re: [NEW] devel/checkmake
To:
tfrohwein@fastmail.com
Cc:
ports@openbsd.org
Date:
Mon, 7 Sep 2026 18:16:00 +0000

Download raw body.

Thread
Thomas Frohwein wrote:
> On Sun, 6 Sep 2026 23:34:00 +0000
> David Uhden Collado <daviduhden@gmail.com> 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.