|
From: | John Graham-Cumming |
Subject: | Re: Does a variable contain the Makefile's name? |
Date: | Thu, 22 Jun 2006 11:03:58 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040208 Thunderbird/0.5 Mnenhy/0.6.0.104 |
Karl Itschen wrote:
So my question is: Is there a variable which contains the name of the makefile (in shell you would have something like $0 or $1 automatically containing arguments to the call)?
Since GNU Make 3.80 you can look at MAKEFILE_LIST. John. -- John Graham-Cumming address@hidden Home: http://www.jgc.org/ Blog: http://www.jgc.org/blog/ POPFile: http://getpopfile.org/ GNU Make Standard Library: http://gmsl.sf.net/ GNU Make Debugger: http://gmd.sf.net/ Fast, Parallel Builds: http://www.electric-cloud.com/ Sign up for my Spam and Anti-spam Newsletter at http://www.jgc.org/ Help out in the fight against spam http://www.spamorham.org/
[Prev in Thread] | Current Thread | [Next in Thread] |