[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Finding the name of makefile
From: |
Paul D. Smith |
Subject: |
Re: Finding the name of makefile |
Date: |
Tue, 10 Jun 2003 19:00:02 -0400 |
%% "Malayambakkam, Ravi [IT]" <address@hidden> writes:
mr> I would like to find the filename of the makefile currently being
mr> executed.
mr> I may specify the filename to execute using the -f option. Is
mr> there any variable that stores the make filename.
If you're using GNU make 3.80 you can check the MAKEFILE_LIST variable.
See the GNU make manual (for version 3.80) for details.
--
-------------------------------------------------------------------------------
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