On Wed, 5 Dec 2012, Kirk, Benjamin (JSC-EG311) wrote:
> It was still recursing into each directory before and only building > the objects inside, right? Right. > The fix for this is to elevate the example binary generation rules > up to a higher-level makefile, which we may be able to do without > much problem. Ill see about having examples/Makefile.am include bits > from each subdirectory but handle the binary generation at that > level. Yeah - IIRC, Makefile "best practices" ought to be to avoid recursive make, *except* that "include" is a non-standard GNUism, and there's no equally good way for a plain POSIX-conforming make to incorporate per-subdirectory files into a single top-level Makefile. But with automake, if the inclusion can be done at automake time while still generating a completely portable Makefile, that's probably a better way to go. --- Roy ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Libmesh-devel mailing list Libmesh-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libmesh-devel