Paul D. Smith wrote:

%% Boris Kolpackov <[EMAIL PROTECTED]> writes:

  bk> "Paul D. Smith" <[EMAIL PROTECTED]> 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 :-).

My solution to this, although IMHO not as elegant as Boris's patch, was to have something like:

        $(OBJECTS): | $(dir $(OBJECTS))

Noel


_______________________________________________ Help-make mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to