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))
[I think you meant:]
$(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST))
I had RT wrong FM. It's not present in 3.79, but section 3.5
of the make-3.80 manual explains this in detail. Thanks.
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make