automake
[Top][All Lists]
Advanced

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

Re: Libraries with sources in subdirectories?


From: Steven G. Johnson
Subject: Re: Libraries with sources in subdirectories?
Date: Wed, 30 May 2001 08:47:47 -0400 (EDT)

On 30 May 2001, Tim Van Holder wrote:
> > > You can even arrange to have the objects kept in subdirectories using:
> > >     AUTOMAKE_OPTIONS = subdir-objects
> > > This option isn't really documented yet, but it is on my to-do list.
> > 
> > I assume you mean that bar/baz.c is normally built as bar/baz.o, but if I
> > include foobar-objects in AUTOMAKE_OPTIONS, then *all* objects will be
> > kept in foobar/.  That's a nice feature, too.
> 
> You may be right, but I read it like:
> 
>   normally, you'd get ./foo.o and ./baz.o for foo.c and bar/baz.c; but
>   with 'subdir-objects' in AUTOMAKE_OPTIONS, you'd get ./foo.o and
>   ./bar/baz.o.

That was my first reading, too, but I have to admit that I hoped this was
not the case; it seems much more sensible to default to putting the object
files in the same place as the sources.

Steven




reply via email to

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