> On 11 Jun 2025, at 15:17, FX Coudert <fxcoud...@gmail.com> wrote:
>
> Hi,
>
>> I am just wondering if the order in Makefile.am as it is now is needed. E.g.
>> pack_* follows pow_* and some other are not lexicographicaly ordered. Are
>> there
>> dependencies that necessitate this? Or could you just sort them, so that
>> looking up files is easier for humans?
>
> I think they don’t matter, but my automake skills are not that great, so I
> kept the current order.
>
> Another improvement I could imagine is, instead of listing files explicitly,
> we could use some patterns/globing; but I don’t know how well it would work,
> how to achieve it, and whether it’s considered good practice in gcc’s build
> machinery generally.
I’d think it might alsobe possible to specify the sources list in a separate
file, and include that in both the Makefile.am and regenerate.sh. That does
not ensure completeness, but it does ensure consistency,
> I aimed to solve the existing problems, but with minimal disruption.
good plan!
Iain