Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


On Monday 08 of October 2012, Michael Stahl wrote:
On 05/10/12 18:22, Lubos Lunak wrote:
+$(CLANGOUTDIR)/compileplugin.so: $(2)
+$(CLANGOUTDIR)/compileplugin.so: CLANGOBJS += $(2)
+
+$(CLANGOUTDIR)/compileplugin.so: $(CLANGOBJS)

there's a bit of redundancy there.

 That actually seems to be needed for whatever reason.

d'oh, now i remember: target local variables only work in a rule or in a
target local variable definition; specifically that
"$(CLANGOUTDIR)/compileplugin.so: $(CLANGOBJS)" dependency evaluates
global $(CLANGOBJS) and it will be empty.

sorry for not noticing this common pitfall earlier.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.