>>> "Bruce" == Bruce Korb <[EMAIL PROTECTED]> writes:

 >> "G.L. Grobe" wrote:
 >> 
 >> I'm still quite new but beleive I've got the basics
 >> down. Anyone give me some advice on how to compile files in
 >> directories several levels deep?
 >> 
 >> TopLevelDir
 >> |- Makefile
 >> |- DirectoryA       // contains no source

 Bruce> Still has to have a "relay" Makefile.am

 >> |- SubDir1ofA    // contains source files
 >> |- SubDir2ofA    // contains sourse files|

It's not clear whether Gary using Automake or not, 
but recent versions supports things like

bin_PROGRAMS = subdir/foo
subdir_foo_SOURCES = subdir/foo.c subdir/bar.c ...
AUTOMAKE_OPTIONS = subdir-objects

-- 
Alexandre Duret-Lutz



Reply via email to