For many projects, you can use the "One Compilation Unit" way: one root source
file
for one end result (shared lib/module/exe/etc).
The source tree is static and code selection happens with the C preprocessor.
--
Sylvain
Fool that I am, I forgot to link it. Here it is:
https://git.sr.ht/~q3cpma/posix-build
Hello, I've made a POSIX sh/make build system in order to ditch GNU make. Its
only dependency is mktemp(1), which is available almost everywhere and can be
written in few lines of C with mkstemp(3) if not.
Here's an excerpt from the README:
For some time, I've been using GNU make with all its fea