- cross-posted to:
- [email protected]
- cross-posted to:
- [email protected]
Just is quite good, especially with multiple modules nested within the project’s directories. It can get a bit unwieldy though and it’s just a bunch of shell scripts underneath when you need to do something complex. That said though I successfully manage a large Unreal Engine project with it and it does building/cooking/testing/deployment on both Win and Linux.
Plain makefiles are horrible if you need to support multiple different platforms that all have their own quirks and build differences.
And also different implementations of make. The author lumps Unix, Linux and BSD together because you’d be likely to have make available on all of them, but neglects to mention that that could easily be three or more different dialects. If you create your Makefiles on Linux you are not at all unlikely to use GNU-specific features (because they’re handy) that won’t work on BSD. Or even features of GNU make 4 that still won’t work on older versions, e.g. what ships by default on Macs.
The way the author speaks about Windows in this context suggests they also don’t realize that Windows has nmake (of course also not really compatible with GNU).
It’s not a coincidence that even when it’s mostly Linux, people use autotools on top, and if it’s more platforms than that handles well, it’s often a set of setup scripts. Or that projects migrated to tools like Cmake, which is one of the worst scripting language designs I have seen in 30 years of professional software development, but makes it much less painful to support multiple platforms with a single build system. Including ones specific to Windows or macOS and so on, but also ninja on Linux that is much faster at incremental builds than make.
Make is pretty jank. I wouldn’t defend it. The only reasons to use it are that it’s pretty much installed by default, and for some reason nobody has written a better version. Kinda weird really. I might vibe code one.
If you don’t believe me, look at how recursive Make works, or how the job server works, or how to support paths containing spaces (you can’t), or
.PHONY, or how the default rule is chosen, or …I haven’t used it yet, but isn’t just a “better” version?
Ninja isn’t designed for hand written rules - it’s more of a backend tool.
Redo is barely anything at all. It sounds kind of elegant but I’ve tried it - you basically end up assembling Make yourself from dozens of loose files.
Just isn’t really a build system at all - it’s a “command runner” like
npm run. I’m not sure it can even do dependency tracking like Make can it? In any case in my view it’s worse because they’ve made it super complicated and kitchen sinky.Don’t forget Task! It’s yaml based and written in go. I like it. It works well. It has a few rough edges. Unfortunately, I haven’t given Just a chance yet to compare




