News for hackers. Stuff that matters.
Re:Tired of Makefiles by hackernudes on Monday May 13, 2024 @07:00PM (#40349575)
In my opinion the Linux kernel is the gold standard for makefile use (they call it kbuild).

It solves the cflags-changed problem by writing out the command used to build and updating it in the filesystem only if it has been changed (see "if_changed").

It has some external (to make) dependencies (a c program and numerous shell scripts) to make it work but it's great and can be relied upon!

It wouldn't be that crazy to get content-based dependencies working, especially looking at kbuild as an example.

There are no comments on this comment yet.