help-make
[Top][All Lists]
Advanced

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

Re: Preconditions vs. Dependencies


From: Paul D. Smith
Subject: Re: Preconditions vs. Dependencies
Date: Mon, 21 Nov 2005 21:26:37 -0500

%% Eric West <address@hidden> writes:

  ew> ${FILES} :
  ew>         @d=`dirname address@hidden ;\

You don't even need this.  Just use $(@D).

There are issues with some versions of GNU make though, using this
method with pattern rules.  Some versions of GNU make throw out pattern
rules that mention non-existent directories.  That's a bug though.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]