help-make
[Top][All Lists]
Advanced

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

RE: Re: list of targets


From: Paul Smith
Subject: RE: Re: list of targets
Date: Thu, 01 Dec 2011 08:58:29 -0500

On Thu, 2011-12-01 at 09:03 +0100, Warlich, Christof wrote:
> Sorry for being importunate w.r.t. this, but just in case my question
> slipped while more important work was due: Is there any chance for
> a .TARGETS variable in the upcomming release of make?  

There's always a chance, but the issue is a bit tricky: the problem is
that right now GNU make does not "create" a new target until the entire
set of lines defining that target is parsed.  That means that expanding
the .TARGETS variable before that happens will not show the current
target in the list.  In order to fix this we'd need to modify the
parsing code to pre-create the target before the rest of the content is
parsed.

This is not at the top of my personal priority list.

Also, .TARGETS is a bit odd because it will have only EXPLICIT target
names in it.  Obviously we can't set it to all the targets that might be
built using implicit/pattern rules.

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