* NightStrike wrote on Sun, Nov 04, 2007 at 08:14:32PM CET:
> On 11/4/07, Ralf Wildenhues <[EMAIL PROTECTED]> wrote:
> >   info Automake 'Libtool Issues'
[...]
> >   info Automake 'Conditional Sources'

> I was following those sections almost.  I missed that part about
> having to add in a bogus _CFLAGS variable.  That seems somewhat
> kludgey, doesn't it?  Automake should be able to detect the name
> collisions in the conditional and rename the object files accordingly.

Hmm.

>  Either that, or can't automake just put the object files in separate
> directories, given my setup?  What I mean is, I have lib/uuid.c and
> lib32/uuid.c.  If the object files were placed in the respective
> directories, lib/uuid.o and lib32/uuid.o, then there would be no
> collision and no need for a bogus _CFLAGS variable, yes?

Please learn about `subdir-objects', that helps.  It's indexed in the
manual.

Cheers,
Ralf


Reply via email to