[Top][All Lists]

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

Re[4]: can't compute prerequisites in static pattern rule

From: Evgeny Sologubov
Subject: Re[4]: can't compute prerequisites in static pattern rule
Date: Wed, 17 Dec 2003 10:48:46 +0300

Здравствуйте, Noel,
Tuesday, December 16, 2003, 8:19:11 PM, you wrote:
>> But there is some problem with it - making of Lib3
>> will be invoked twice (by Lib1 and by Lib2) and that could cause
>> noticeable time penalties (especially when number of Libs much greater
>> than 3)!

NY> This penalty goes away if the DAG is built correctly.  OTOH,
NY> there's an added penalty of opening the Lib3 makefile multiple
NY> times (which also exists in recursive make).
Yes, that was I were talking about!

NY> I hope the above is enough to give you some ideas (and not
NY> enough to scare you away).
Thanks a lot! I've got a night of good meditation (-:
The core idea for me is $(__FILE__) variable since it allows
"namespacing" of included *.mk files.
NY> I'm sure you have some more questions, so, ask away.

Only one question. You wrote:

NY>    $(2): | $(dir $(2))
  What is that mean?
  Just another way to enforce rebuild?


reply via email to

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