%% Jeff Bailey <[EMAIL PROTECTED]> writes: jb> Is there a variable similar to MAKEFILE_LIST and .VARIABLES that jb> will give a list of all defined targets? I thought there was, but jb> I don't see any mention of it in the manual.
There was, but I took it out before the release. jb> If no, would patches for this be welcomed? I already have jb> copyright assignment taken care of. I have the code for a simple version of this. The reason I took it out was that the value of the variable is not updated until after the target is completely parsed (that's the simple implementation). I don't like that: I would like to see the value updated as soon as the target is recognized (basically as soon as the ":" is grokked by the parser). This is much more of a pain so I left out the feature until I could get back to it and implement it correctly. -- ------------------------------------------------------------------------------- Paul D. Smith <[EMAIL PROTECTED]> 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 _______________________________________________ Bug-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-make