I'm not certain it sets it to argv[0], but the effect of using $(MAKE) is almost the same. See http://www.gnu.org/manual/make/html_mono/make.html#SEC59 for more info.
/ Marcus Agehall (Trådlös)
Previous text:
2003-05-29 12:11: Subject: Re: make problems on OpenBSD
GNU make automatcially sets $MAKE to argv[0], does it not?
continuity:~/tmp% cat Makefile foo : echo $(MAKE) continuity:~/tmp% gmake echo gmake gmake continuity:~/tmp% gmake -v GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for sparc-sun-solaris2.8 Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Report bugs to bug-make@gnu.org.
continuity:~/tmp%
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)