|
| From: | Edward Welbourne |
| Subject: | Re: Detecting parallel builds |
| Date: | Wed, 30 Mar 2011 13:02:45 +0200 |
> I'm trying to find an easy way to detect inside of a makefile if
> we're running as a parallel make or not.
See
5.7.3 Communicating Options to a Sub-`make'
and, particularly, the MAKEFLAGS variable.
Not sure of details, but I expect any -j option to appear in it.
Eddy.
| [Prev in Thread] | Current Thread | [Next in Thread] |