Is there anything I can put in my makefile to specify a default number of jobs?

I think I see a path where I can test MAKEFLAGS and then perhaps invoke a submake with the desired -j something.
I hoping for something like:

# this makefile has been tested for and is known to build reliably for up to 6 simultaneous jobs.
.MAKE_JOBS := 6

And with this capability, and identifying the jobs flag from the command line, you can implement a max or min number of jobs.

Thanks, John


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to