4 ms·
Why do all these build systems have magic built-in rules and special syntax? Custom languages, etc. makefiles without any magic are comprehensible, but people
by jopsen 9y ago
Why do all these build systems have magic built-in rules and special syntax? Custom languages, etc.
makefiles without any magic are comprehensible, but people quickly add magic :(
- aidenn0 9y agognumake has at least a half-dozen magic built-in rules, no?
- lloeki 9y agoA bit more than a half dozen, but mostly inconsequential: https://www.gnu.org/software/make/manual/html_node/Catalogue-of-Rules.html https://www.gnu.org/software/make/manual/html_node/Catalogue...
- jopsen 9y agoI said, makefiles without the magic :) If you only use plain rules and maybe simple pattern rules, avoid configure step, etc. Makefiles are simple, pretty and very generic. Why do all other build systems have so much magic? Why not declare rules and input/output in a pure functional manner?
- gkya 9y agoBoth gnumake and bmake have lots of tooling, partly magic, at least for compiling C code.