Hacker News new | ask | show | jobs
by jgrahamc 4095 days ago
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.

1 comments

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.