automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Conditional sources


From: Ralf Wildenhues
Subject: Re: Conditional sources
Date: Sun, 4 Nov 2007 21:31:12 +0100
User-agent: Mutt/1.5.13 (2006-08-11)

* NightStrike wrote on Sun, Nov 04, 2007 at 08:14:32PM CET:
> On 11/4/07, Ralf Wildenhues <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]