Re: what happens to my --jobs?

Paul Smith <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Organization GNU's Not Unix!
Message-ID <[email protected]>
On Fri, 2008-02-29 at 10:12 +0100, Krzysztof Nosek wrote:
> shouldn't --jobs (-j) flag and its value appear in MAKEFLAGS?

No; there's no need for it to be there.  The submakes get information
about whether they can run a job or not from the jobserver (a pipe).
They don't need to know, nor would it be useful to know, how many total
jobs are possible; they just know whether they can run the next one or
not.

> I would really like to know from my makefile how many (if any)
> concurrent jobs user requested.

Why do you need to know how many jobs are requested?

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <[email protected]>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.us
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.