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.
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make