[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: missing dependency in a very unusual case
From: |
Jim Meyering |
Subject: |
Re: missing dependency in a very unusual case |
Date: |
Sat, 12 Mar 2005 09:56:33 +0100 |
Alexandre Duret-Lutz <address@hidden> wrote:
...
> What does it means for _LDADD/_LIBADD? I don't know. Should
> the current behavior be kept for consistency with *FLAGS, or
> should Makefile changes cause the relink needed in your
> scenario? I don't have any preference here.
I'm happy to leave this the way it is. However, if you want a middle
ground, it might be enough to depend on Makefile.in. That should avoid
problems like mine, without rerunning $(AR) every time Makefile changes.
This really highlights a classic weakness in stateless Make programs.
The libfoo.a file should depend on the _list_ of *.o files as well as
on the files themselves. Then it'd be rebuilt even when the list is
merely shortened.