> -----Original Message-----
> From: Bruce Korb [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 13, 2002 10:03 AM
> To: Ian Pilcher
> Cc: [EMAIL PROTECTED]
> Subject: Re: Seeking simple example for "shallow" tree
>
>
> Ian Pilcher wrote:
> >
> > I am trying to set up a simple project for
> automake/autoconf. I have
> > a single source file, main.c, in the top-level directory; all the
> > other source files are in subdirectories.
> >
> > Can anyone point me to a simple example/template for my
> > Makefile.am(s)?
>
> Here are a couple of approaches:
>
> 1. Use an IDE (like KDevelop) that builds skeletal infrastructure
> for you automatically
>
> 2. Use a prototype project generator (like autoproj).
3. Use something like the following:
====
## Process this file with automake to produce Makefile.in
#
# $Id: Makefile.am,v 1.3 2002/01/13 14:16:17 robertc Exp $
#
AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects VERSION=1.5
DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
bin_PROGRAMS = foo
foo_SOURCES = main.c subdir1/1.c subdir2/2.cc subdir3/3.cc
====
Rob