what happens to my --jobs?

Krzysztof Nosek <[email protected]>
Newsgroups gmane.comp.gnu.make.windows
Message-ID <[email protected]>
Dear list,


shouldn't --jobs (-j) flag and its value appear in MAKEFLAGS?

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

I do not know whether it is a windows issue. I reproduce that with make.exes 
from both Cygwin and GnuWin32, e.g.:

> : make -j 20 -knif -
> $(info [ $(MAKEFLAGS) | $(MFLAGS) ] )
> ^Z
> [ nki | -nki ]
> make: *** No targets.  Stop.
> 
> : make --version
> GNU Make 3.81
> Copyright (C) 2006  Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
> 
> This program built for i386-pc-mingw32

Would be glad to see some tips/workarounds :)

Thanks in advance,

Krzysztof Nosek
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.