News for hackers. Stuff that matters.
Re:GNU make insanity: finding the value of the -j parameter by jgrahamc on Sunday March 29, 2015 @04:07AM (#9284196)
Oh, boy. Take a chill pill man! Is no one allowed to do anything for fun any more?

It took me about 15 minutes to come up with the solution. I wrote it up for fun because it illustrates some of the functionality of GNU make that people might not be aware of (order-only prerequisites, $(eval)) and using $(call) in a recursive fashion.

I actually spent more time on the blog post.

Re:GNU make insanity: finding the value of the -j parameter by crististm on Sunday March 29, 2015 @06:55AM (#9284445)
I think it's because people resort to construct a parallel build machine with half-baked dependency resolution on top of make.

Asking for -j value inside the Makefile was a tell-tale sign of this sort.

Re:GNU make insanity: finding the value of the -j parameter by jordigh on Sunday March 29, 2015 @09:10AM (#9284683)