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: Boris Kolpackov
Subject: Re: Using the target of a pattern rule as a prerequisite
Date: Thu, 3 Jun 2004 23:04:04 +0000 (UTC)
User-agent: nn/6.6.5+RFC1522

"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.

I think using order-only dependency on a directory is not such a bad
idea. At least it works fine for me. I even have a description of this 
technique:

http://kolpackov.net/pipermail/notes/2004-January/000001.html

-boris





reply via email to

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