Re: [dev] A simple POSIX build system

2020-02-29 Thread sylvain . bertrand
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

Re: [dev] A simple POSIX build system

2020-02-29 Thread Hadrien Lacour
Fool that I am, I forgot to link it. Here it is: https://git.sr.ht/~q3cpma/posix-build

[dev] A simple POSIX build system

2020-02-29 Thread Hadrien Lacour
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