This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
target with sources in different directory?
- To: automake at gnu dot org
- Subject: target with sources in different directory?
- From: Denes Molnar <molnard at phys dot columbia dot edu>
- Date: Sun, 29 Jul 2001 02:40:54 -0400 (EDT)
- List-Id: Discussion list for automake <automake.gnu.org>
Hi,
Is there a way to specify a target (e.g., a library) to be built from
sources that are in different directories? I need to build a library from
a large number of objects for which the sources are in various
subdirectories (for easiear maintenance).
I tried a simple example
lib_LIBRARIES = mylib.a
mylib_SOURCES = ../a/a.C ../b/b.C
but automake gives a message telling this is not supported (I have
automake 1.4).
Thanks for any help.
Denes Molnar