This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: Need help with problem...
- To: "'Eric Lemings'" <eric dot b dot lemings at lmco dot com>, <automake at gnu dot org>
- Subject: Re: Need help with problem...
- From: "Tim Van Holder" <tim dot van dot holder at pandora dot be>
- Date: Tue, 25 Sep 2001 23:51:09 +0200
- List-Id: Discussion list for automake <automake.gnu.org>
Please, no HTML.
> lib_LTLIBRARIES = libfoo.la
> libfoo_la_SOURCES = \
> one.c \
> one.cpp \
> two.c \
> two.cpp
IIRC, Automake 1.5 supports subdirectories; using
lib_LTLIBRARIES = libfoo.la
libfoo_la_SOURCES = \
c/one.c \
cpp/one.cpp \
c/two.c \
cpp/two.cpp
should get you what you want the easiest way.
You may have to add 'subdir-objects' to AUTOMAKE_OPTIONS
for this to work; check the docs.