On Thu, Feb 02, 2017 at 06:45:49PM +0100, Mattias Andrée wrote:
> I'm work on implementing make(1)
In theory, linux kbuild should be a good reference for the minimum set of
makefile extensions to code. Well, in theory, the guys paid full-time at the
linux fondation to work on kbuild, should have constraint themselves to use the
bare minimum of makefile extensions, and be honest about it (they aren't, be
carefull). suckless: better have a bit more roughness in the makefile than
depends on super duper makefile extensions... which would make coding an
alternative to make something crazy or insane.
It's like C, the bare minimum of extensions would be those required to compile
a kernel like linux (a good part of C89 syntax is already tooooo much, hence
even more with C99), but the gcc inline assembly is critical. The "right"
answer would be to abstract away what's really needed (minimal) from a C
toolchain for a reasonable linux build (even clang/llvm people failed).
--
Sylvain
Received on Fri Feb 03 2017 - 11:08:25 CET