help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: not sure about value of "$(lastword $(MAKEFILE_LIST))" in this examp


From: Kaz Kylheku (gmake)
Subject: Re: not sure about value of "$(lastword $(MAKEFILE_LIST))" in this example
Date: Tue, 15 Oct 2019 10:48:18 -0700
User-agent: Roundcube Webmail/0.9.2

On 2019-10-15 10:06, Robert P. J. Day wrote:
On Tue, 15 Oct 2019, Kaz Kylheku (gmake) wrote:

On 2019-10-15 08:59, Robert P. J. Day wrote:
> i'm not sure what to make of this since there is only one Makefile
> in play in this directory, and the docker container has its
> working directory set to this directory, and all of the targets
> being invoked are defined in the same Makefile.

It allows the containing file to re-invoke itself regardless of its
name. Even if it is the only makefile in the directory, this would
be required if its name isn't "dir.mk"...

  i understood all of that except for the above ... what is magic
about the makefile name "dir.mk"? what is magic about that name such
that it would be used unless overridden?

Nothing; I think what I was writing was "if its name isn't
Makefile but something else, like dir.mk". Somehow I bungled
it in editing.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]