help-make
[Top][All Lists]
Advanced

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

How to get current filename executed


From: Andrew Hou
Subject: How to get current filename executed
Date: Tue, 11 Mar 2003 15:05:56 +0800

Hi,
 
I am using gmake ver 3.79.1.
I would like to get file name of current makefile
This is my makefile named tt:
 
#!/usr/bin/gmake -f
target:
    @echo "$(MAKEFILES)"
 
I hope to get answer "tt" if I run it.
But seems MAKEFILES is not what I want.
Do u have any good idea?
 
Andrew
 

reply via email to

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