On Thu, Aug 23, 2012 at 7:29 PM, Eli Zaretskii <email@example.com>
> From: Eran Ifrah <firstname.lastname@example.org>
> Date: Thu, 23 Aug 2012 17:42:13 +0300
>No, this is documented behavior for any Make that doesn't support the
> It seems that mingw32-make only partially supports the $(MAKE) variable
"job server" parallelism.
I wasn't aware that the official make does not support "job server", now that I know this, it makes sense
> For example, if I want to run make with multiple jobs (-jN) from within aGet the CVS code of Make, build it, and you will see no such problem,
> makefile, I usually write something like this:
> cd subdir && $(MAKE) -f Makefile.mk
> Now if I execute the makefile from the command line under Linux like this:
> make -j4 -f Makefile.mk
> $(MAKE) will contain "make -j4"
> While under Windows / CMD.EXE - *no* MSYS,
> it seems that $(MAKE) is forcing "-j 1"
because the CVS code already supports job server.
In a Make that doesn't support job server, the parent Make cannot
control how many jobs will be launched by a sub-Make, so it resets the
number to 1.
I was trying to avoid building make myself. Luckily for me, niXman provided me with a link to a make binary that supports it
With Make 3.82, you need to set "-jN" in the sub-Make by explicitly
mentioning it on the sub-Make command line.
I know this, I was trying to avoid it. I didn't want to hard code the number of jobs into the Makefile