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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to