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

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to