%% Dan McMahill <[EMAIL PROTECTED]> writes: dm> Paul D. Smith wrote: >> %% [EMAIL PROTECTED] writes: >> m> Is there a test to see if a target has been defined?
>> Not in the current version of GNU make. It was planned for the next >> version but due to complications it will probably drop out. It will be >> in the version after that. dm> Did this feature ever get implemented? Not yet. It turns out that in order to do this correctly the parser to make has to be modified. Make doesn't define a target internally until it has been fully parsed, which means that some tests didn't work as expected. In order to implement this, the parser needs to be changed to add targets to the internal database as soon as they're parsed. -- ------------------------------------------------------------------------------- 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 _______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
