help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gmake -C mess up MAKEFLAGS?


From: Harvey Chapman
Subject: Re: gmake -C mess up MAKEFLAGS?
Date: Sat, 31 Oct 2009 10:02:07 -0400

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







reply via email to

[Prev in Thread] Current Thread [Next in Thread]