On Tue, Mar 20, 2007 at 06:45:29PM +0000, Angus Leeming wrote: > Andre Poenitz <[EMAIL PROTECTED]> writes: > > Each time I try to get back to work on LyX I am appalled by the > > time it takes to compile and link. > > Agreed. > > > Testcase is src/graphics. Pretty selfcontained, modern C++ the > > way we like it. A total of 2608 lines in 11 *.C files. > > > Now, cp *.C Graphics.C, adjust Makefile.am > > It seems to me that multiple .C files are an aid to humans. I find it much > easier to navigate such a setup. I suspect I'm not alone. Remember, > discoverability is important, Andre. > > Given that your solution to the problems that the compiler has with these 11 > files is so simple, why don't we introduce a new rule to the makefile to do > just as you suggest? Ie, let the makefile perform the concatenation?
It's an interesting suggestion. > This may be truly hard with Automake, but it's surely do-able with scons. automake is still the offical toolkit as far as I am aware. Andre'