s://www.gnu.org/software/make/manual/html_node/Conditional-Syntax.html
Since, IIUC, you'd like to control NDEBUG based on configure-time flags,
I suspect you're looking for the first link.
Hope that helps, have a lovely night.
--
Arsen Arsenović
signature.asc
Description: PGP signature
should even exist in the GNU Build System (or,
Make more broadly)? Do you have any implementation ideas?
[1] https://ninja-build.org/manual.html#_extra_tools (compdb)
[2] https://github.com/rizsotto/Bear
Hope to hear from you soon, have a lovely night.
--
Arsen Arsenović
signature.asc
Description: PGP signature