help-make
[Top][All Lists]
Advanced

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

gmake -C mess up MAKEFLAGS?


From: RobinK
Subject: gmake -C mess up MAKEFLAGS?
Date: Sat, 31 Oct 2009 06:10:42 -0700 (PDT)

This is rather odd.
I have a directory: /tmp/aa, inside aa I have a makefile like this:
>cat /tmp/aa/makefile
all:
        @echo "Inside aa $(MAKEFLAGS)" ;\
        touch a.txt

Then, All I did was:
>cd /tmp
>gmake -C aa

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

Can someone tell me what I did wrong? Thx!

-- 
View this message in context: 
http://old.nabble.com/gmake--C-mess-up-MAKEFLAGS--tp26142228p26142228.html
Sent from the Gnu - Make - Help mailing list archive at Nabble.com.





reply via email to

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