On Oct 31, 2009, at 9:10 AM, RobinK wrote:
This is the result:
gmake: Entering directory `/tmp/aa'
Inside aa w
gmake: Leaving directory `/tmp/aa'
Where's that "w" after "Inside aa" came from? Why is it in $
(MAKEFLAGS)?
If I just do:
cd /tmp/aa
gmake
Then everything is fine, there's no "w" at the end
I think -C enables -w which prints the "gmake: Entering directory `/
tmp/aa'" messages.
‘-w’ ‘--print-directory’
Print a message containing the working directory both before and after
execut- ing the makefile. This may be useful for tracking down errors
from complicated nests of recursive make commands. See Section 5.7
[Recursive Use of make], page 50. (In practice, you rarely need to
specify this option since ‘make’ does it for you; see Section 5.7.4
[The ‘--print-directory’ Option], page 54.)
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make