Re: Getting long SOURCES lines with subdirs shorter
Jacob Bachmeyer <[email protected]>
| Newsgroups | gmane.comp.sysutils.automake.general |
|---|---|
| Message-ID | <[email protected]> |
Jan Engelhardt wrote: > Given > > a_SOURCES = aprog/main.c aprog/foo.c aprog/bar.c aprog/baz.c ... > > The more source files there are to be listed, the longer that line gets, > the bigger the Makefile.am fragment becomes, etc. I am thinking about > how to cut that repetition down. Current automake likely won't have > anything in store already, so I'm thinking of editing automake and > targeting a future automake release. > While this does not reduce the repetition, Automake allows backslash-continuation on these lines. DejaGnu uses it to list files one per line in some places; see <URL:http://git.savannah.gnu.org/cgit/dejagnu.git/tree/Makefile.am>. -- Jacob