4 ms·
Make is awesome, but it's such a hack ... Writing and designing a build for a complicated project is such a pain because of the recursive calling.
by redleader55 2y ago
Make is awesome, but it's such a hack ... Writing and designing a build for a complicated project is such a pain because of the recursive calling.
- db48x 2y agoAnything you want to build can be done without using recursive invocations of make. You should probably go ahead and recursively run make when building a dependency that is built with make, but almost any other use is a mistake.
- ajross 2y agoRecursive make invocation isn't a required thing or a design point, it's not really even recommended. You see it commonly only in the "obvious" situation where you're building a dependency that has its own build integration. And there, make works better than competing tools for precisely the reason that it inherits the jobserver environment and can thus make better use of the build hardware. I continue to believe that make is and remains the superior technology. Everyone else does like one or two things better (usually just limited to the developer-facing configuration language) and everything else worse.
- 1718627440 2y agoRecursive make is known to be problematic since 1997 (https://petermiller.work/pmiller/books/rmch/ https://petermiller.work/pmiller/books/rmch/).