Hi Eric, * Eric Blake wrote on Sat, May 15, 2010 at 01:41:08AM CEST: > Right now, either you use foo_DEPENDENCIES and have to list everything > yourself, or you omit it, and automake does a good job. But what about > the case where you want automake to do its automatic dependencies, and > then you add one more file? It seems like it would be nice to support > foo_DEPENDENCIES += other_file, without requiring that foo_DEPENDENCIES= > previously occur in the file.
Yes, such a mechanism would be nice. The Automake way wouldn't be to allow 'foo_DEPENDENCIES +=' without prior initialization though (that would defeat typo detection, and probably complicate the internal logic wrt. conditionals), but adding of another variable to the default list of foo_DEPENDENCIES. I guess. Suggestions for naming such a variable? Thanks, Ralf