%% [EMAIL PROTECTED] (Allan Wind) writes: aw> On 2002-11-11 09:16:27, Paul D. Smith wrote: aw> I noticed in the archives that there is no way of getting the aw> value of -f, but perhaps there is a way of solving this problem in aw> a correct and elegant way?
>> Not really; not in versions before 3.80. aw> What are you referring to in 3.80 that may help me out? You can look in the $(MAKEFILE_LIST) variable to find the pathname of the current makefile that you're reading. Grabbing the prefix from that and using it in the find operation _should_ get you what you need. -- ------------------------------------------------------------------------------- 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://mail.gnu.org/mailman/listinfo/help-make
