help-make
[Top][All Lists]
Advanced

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

Re: how to tell the "current goal"?


From: Paul Smith
Subject: Re: how to tell the "current goal"?
Date: Sun, 22 Nov 2009 17:57:24 -0500

On Sun, 2009-11-22 at 11:55 -0800, Mark Galeck (CW) wrote:
> I can use, from inside the makefile, the variable MAKECMDGOALS to find
> out the list of goals specified on the make command line.  But how do
> I find out which goal from that list is the one that is being made
> currently?

There is no way, unless you want to do something like add an extra
recursion.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://make.mad-scientist.net
 "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]