This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: automake and subdirectories
- From: Alexandre Duret-Lutz <duret_g at lrde dot epita dot fr>
- To: Nicholas Kidd <kidd at cs dot wisc dot edu>
- Cc: automake at gnu dot org
- Date: Tue, 17 Sep 2002 08:55:19 +0200
- Subject: Re: automake and subdirectories
- References: <20020916232012.GQ24273@wasabi.cs.wisc.edu>
>>> "Nicholas" == Nicholas Kidd <kidd@cs.wisc.edu> writes:
[...]
Nicholas> there might be some way to tell automake something
Nicholas> like this:
Nicholas> "Every .cpp file in subdirs x,y,z should be compiled
Nicholas> and linked into this application"
It's ok to list files from subdirectories in a _SOURCE variable.
bin_PROGRAMS = prog
prog_SOURCES = \
prog.c \
x/x1.c \
x/x2.c \
x/x2.c \
y/y1.c \
y/y2.c \
y/y2.c \
...
AUTOMAKE_OPTIONS = subdir-objects # If you want.
--
Alexandre Duret-Lutz