This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]