-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Wuertele wrote: | This works great for me, except for one situation: I can't figure out how to | explicitly pass down my "-j N" values to submakes. There doesn't seem to be a | single make variable which contains the value of "N". I would like to do | something like this: | | unexport $(.VARIABLES) | | SOMEVARIABLE := # ???? | | target: | $(MAKE) -j $(SOMEVARIABLE) target | | How do I set SOMEVARIABLE so that my sub-make gets the same "-j N" that the | top-level got?
Why do you want to do this? If you specify -j N on the top-level make then all sub-makes will run in parallel because of the jobserver feature and hence you don't need to pass -j N down. John. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHoiGnLphrp73n/hARAh++AKCBPN4NOmtXzl8425vshdeGExEn3ACeOZQU /dDvMcCYmhiI5wJofM+UEkk= =5q5R -----END PGP SIGNATURE----- _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
