help-make
[Top][All Lists]
Advanced

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

Re: Using the target of a pattern rule as a prerequisite


From: Paul D. Smith
Subject: Re: Using the target of a pattern rule as a prerequisite
Date: Fri, 4 Jun 2004 09:31:24 -0400

%% Boris Kolpackov <address@hidden> writes:

  bk> "Paul D. Smith" <address@hidden> writes:

  >> In general it's not a good idea (IMO) to depend on a directory
  >> anyway: it will cause your code to rebuild in many situations where
  >> it's not necessary.

  bk> I think using order-only dependency on a directory is not such a bad
  bk> idea.

Yes, that's true.  Of course then he has the original problem of
obtaining the directory name in the prerequisite list.  I realize you
have a solution for that in your patches as well :-).

-- 
-------------------------------------------------------------------------------
 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]