>>> "Nicholas" == Nicholas Kidd <[EMAIL PROTECTED]> 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



Reply via email to