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 <[email protected]> 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 _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
