The default jobs argument for make

make

How many jobs does make use by default when you don't pass it the -j flag?

Best Answer

Seems to me that it is definitely 1, if by default you mean, without the -j switch. Evidently (from the man page):

If the -j option is given without an argument, make will not limit the number of jobs that can run simultaneously.

I've always specified a number and so have not noticed this. But with no switch, by empirical observation, it's one.

"Unlimited" would be a questionable value to use as a plain default, I think.

Related Question