Alexandre Duret-Lutz <[EMAIL PROTECTED]> 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.


Reply via email to