This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Libraries with sources in subdirectories?
- To: Steven "G." Johnson <stevenj at alum dot mit dot edu>
- Subject: Re: Libraries with sources in subdirectories?
- From: Tim Van Holder <tim dot van dot holder at pandora dot be>
- Date: 30 May 2001 08:48:52 +0200
- Cc: automake at gnu dot org
- List-Id: Discussion list for automake <automake.gnu.org>
- References: <Pine.LNX.4.10.10105292329400.30648-100000@superjdj.mit.edu>
On 29 May 2001 23:29:57 -0400, Steven G. Johnson 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.