%% Greg Chicares <[EMAIL PROTECTED]> writes: gc> On 2006-4-3 15:38 UTC, John Graham-Cumming wrote: >> Greg Chicares wrote: >> >>> Is there any way to determine the name of the current makefile? >> >> THIS_MAKEFILE := $(words $(word $(MAKEFILE_LIST)),$(MAKEFILE_LIST)) gc> [I think you meant:] gc> $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
gc> I had RT wrong FM. It's not present in 3.79, but section 3.5 gc> of the make-3.80 manual explains this in detail. Thanks. FYI, as of this morning I've updated the make manuals available for online viewing or download on the gnu.org site to have the latest versions of the GNU make manual, in many different formats: http://www.gnu.org/software/make/manual/ -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> Find some GNU make tips at: http://www.gnu.org http://make.paulandlesley.org "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
