Здравствуйте, 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?
--
Evgeny
_______________________________________________
Help-make mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/help-make