bug-make
[Top][All Lists]
Advanced

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

Re: [Resend] Function or variable to get the name of the current makefil


From: Paul D. Smith
Subject: Re: [Resend] Function or variable to get the name of the current makefile.
Date: Thu, 19 Sep 2002 20:42:08 -0400

%% <address@hidden> writes:
 
  n> To the best of my knowledge, currently there's no way to determine
  n> the name of the makefile currently being read.

The makefile cannot obtain this information for itself, no.

  n> This information is useful to me, and I'd like to implement a
  n> 'thisfile' function that returns it.

No need.  There's already this capability (although not as a function
and not exactly how you suggest) in the next version of GNU make.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.paulandlesley.org
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist




reply via email to

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