help-make
[Top][All Lists]
Advanced

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

Re: How to get current filename executed


From: Paul D. Smith
Subject: Re: How to get current filename executed
Date: Tue, 11 Mar 2003 07:37:55 -0500

First, please choose a standard charset when emailing messages.  "big5"
is a non-standard Windows invention, which makes your message more
difficult to read on any other operating system.  There's no reason to
choose anything other than standard text for messages like this.

> I am using gmake ver 3.79.1.
> I would like to get file name of current makefile

You can't get this information from GNU make in this version.  If you
upgrade to GNU make 3.80 then you can use the $(MAKEFILE_LIST) variable.

-- 
-------------------------------------------------------------------------------
 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]