automake
[Top][All Lists]
Advanced

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

Objects in multiple directories


From: Bill Moseley
Subject: Objects in multiple directories
Date: Fri, 28 Mar 2003 05:52:26 -0800 (PST)

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 address@hidden





reply via email to

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