Hi all,
I need to get the path to the Makefile being processed
by the make
executable. I tried to use the $(MFLAGS) variable for that,
but it
ignores the -f switch. Look this test:
% cat /home/me/Makefile
all:
echo MAKEFLAGS=$(MAKEFLAGS)
echo MFLAGS=$(MFLAGS)
echo MAKECMDGOALS=$(MAKECMDGOALS)
% make -nf /home/me/Makefile all
echo MAKEFLAGS=n
echo MFLAGS=-n
echo MAKECMDGOALS=all
Any help will be appreciated.
Rgds
Walter
_______________________________________________
help-gnu-utils mailing list
help-gnu-utils gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-utils
|