CFLAGS.xx/yy.c += ?

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 18 Aug 2025 20:02:55 UTC
Hi,

I would love to add CFLAGS for just one file as in:
CFLAGS.bar.c += -W...

My problems are:

(a) the file is foo/bar.c += ; do we have a way to write that out which
     works?

(b) to further complicate it I believe I need two different -Wno-..
     flags depending on gcc vs. clang on top.  Do we support that
     (per-file and per-compiler)?

/bz

-- 
Bjoern A. Zeeb                                                     r15:7