compile error

Thiago Macieira thiago at macieira.org
Sat Oct 5 10:45:14 UTC 2013


On sábado, 5 de outubro de 2013 09:17:56, Linus Torvalds wrote:
> To add dependencies, you need to do it separately. So you could do
> something like
> 
>   %.o: %.cpp
>         pattern-commands
> 
>    cpp-files := $(wildcard *.cpp)
>    $(cpp-files): $(UIC_HEADERS)
> 
> as two different rules: the first one is the pattern that (re-)defines
> the implicit rule in what make should do, and the second rule makes it
> clear that all *.cpp files depend on the files listed in UIC_HEADERS.
> 
> Does that get things working better for you guys?

Ah, that helps. I can make a patch for this.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131005/c64b41ef/attachment.sig>


More information about the subsurface mailing list