I have a static library called libunikey.la
, and an app named ibus-unikey
that links to it.
The problem is, whenever libunikey.la
is rebuilt, ibus-unikey
is not rebuilt, so the changes to libunikey.la
don't take effect on ibus-unikey
.
I want ibus-unikey
to be rebuilt (relinked) whenever libunikey.la
is changed, the way Makefile dependency does.
How to do it with automake, GNU autotools?
___UPDATE_________
To make it simpler, the real question is: How could I make a rule to force a target to be recompiled when another target / or simply a file, is changed? (with automake)