This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Objects in multiple directories
- From: Bill Moseley <moseley at hank dot org>
- To: automake at gnu dot org
- Date: Fri, 28 Mar 2003 05:52:26 -0800 (PST)
- Subject: Objects in multiple directories
Is there still no direct way to specify objects in different directories?
I'd like to build a convenience library and the source for the library is
in its own directory tree with just a few source files and headers in each
subdirectory -- some subdirectories contain just one .c and associated .h
file.
In my pre-automake hand crafted Makefile.in I did:
FOO_OBJS = \
($foodir)/foo/foo.o \
($foodir)/bar/bar.o \
($foodir)/baz/baz.o
FOO_CPPFLAGS = \
($foodir)/foo \
($foodir)/bar \
($foodir)/baz
--
Bill Moseley moseley at hank dot org