not sure about value of "$(lastword $(MAKEFILE_LIST))" in this example

2019-10-15 Thread Robert P. J. Day
a Makefile i was handed (that lives two subdirs down in the total code base, and which is meant to be run after cd'ing down to its containing directory), contains early on: THIS_FILE := $(lastword $(MAKEFILE_LIST)) include $(TOP_ROOT)/config.include include $(OTHER_DIR)/config.include

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

2019-10-15 Thread Kaz Kylheku (gmake)
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 t

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

2019-10-15 Thread Robert P. J. Day
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

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

2019-10-15 Thread Kaz Kylheku (gmake)
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

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

2019-10-15 Thread Robert P. J. Day
On Tue, 15 Oct 2019, Kaz Kylheku (gmake) wrote: > 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