|
From: | lists |
Subject: | Can a makefile identify itself? |
Date: | Wed, 17 Aug 2005 14:01:26 -0400 |
User-agent: | Mozilla Thunderbird 1.0.6 (Windows/20050716) |
/prog/Makefile /prog/apples/Makefile.mkThe /prog/Makefile uses "include apples/Makefile.mk" to call another makefile. I need the apples/Makefile.mk to know where it is. If I use $(shell pwd) I get the location of the root Makefile instead. I'm using Make 3.79.1 (and am stuck with it) so I can't use the MAKEFILE_LIST variable.
Is there a nice way of doing this? - natch
[Prev in Thread] | Current Thread | [Next in Thread] |