News for hackers. Stuff that matters.
Re:Using Make – writing less Makefile by bigdict on Tuesday December 26, 2023 @02:58PM (#38775434)
Just do:

    .SECONDEXPANSION
    foo: $$(patsubst %.c,%.o,$$(wildcard *.c))
No need to tell Make how to invoke a C compiler for the billionth time.
Re:Using Make – writing less Makefile by rurban on Tuesday December 26, 2023 @03:32PM (#38775748)
But then you need the name it GNUmakefile when you use incompatible GNU extensions.

BSD makefiles do look better.