Hi Jan,
Current automake likely won't have anything in store already,
Not that I know of.
a_SOURCES = $(addprefix aprog/,main.c foo.c bar.c baz.c)
I've often wanted this myself. I'd certainly welcome a patch for it.
Please work from automake trunk. None of the various branches are kept
On 17. 07. 23 18:27, Václav Haisman wrote:
On 17. 07. 23 0:55, 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 thinki
On 17. 07. 23 0:55, 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
On Monday 2023-07-17 06:55, John Darrington wrote:
>Why not just write it as:
>
>a_SOURCES = aprog/main.c \
> aprog/foo.c \
> aprog/bar.c \
> aprog/baz.c ...
You're missing the point.
If you have a hundred, two hundred source files, all the aprog/ prefixes
(and it's rarely *that* short) a
Why not just write it as:
a_SOURCES = aprog/main.c \
aprog/foo.c \
aprog/bar.c \
aprog/baz.c ...
??
On Mon, Jul 17, 2023 at 12:55:59AM +0200, Jan Engelhardt wrote:
> Given
>
> a_SOURCES = aprog/main.c aprog/foo.c aprog/bar.c aprog/baz.c ...
>
> The more source files there ar