Hello John, * John Richetta wrote on Tue, Sep 09, 2008 at 11:32:01PM CEST: > I have a project that has a directory structure like this: > > TopDir > | > +----------------+----+ > | | | > AppDir other dirs... > | | > A B > > The top level of this project is where one invokes configure and make. > However, the project has traditionally been structured such that the > final executable resides in subdirectories of AppDir, and the actual > source code primarily resides in subdirs of AppDir.
Example: TopDir/Makefile.am: SUBDIRS = AppDir ... AppDir/Makefile.am: bin_PROGRAMS = A/proggie_one A_proggie_one_SOURCES = B/source1.c A/sub/source2.c ... AUTOMAKE_OPTIONS = subdir-objects There is no reason to build a dummy program with no sources. Hope that helps. Cheers, Ralf
