If a command for a rule is a submake, but the command is contained in a
variable, then it can't run the submake in parallel. You get an error
message:

gmake[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent
make rule.

Here is a sample Makefile that shows the problem (for all versions with
the job server feature to 3.79):

#

ACOMMAND = $(MAKE) thing

default:
        $(ACOMMAND)

thing:
        @echo making thing


-- 
P. Jeffrey Ungar
Silicon Graphics  ms. 553          email: [EMAIL PROTECTED]
1600 Amphitheatre Pkwy.            phone: (650) 933-6949
Mountain View, CA 94043              fax: (650) 932-6949

Reply via email to