diff options
author | Theodore Ts'o <tytso@mit.edu> | 2008-04-01 16:45:37 -0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-04-01 16:45:37 -0400 |
commit | a4b69b7f1809898c87bdc11502ca258a8f16a220 (patch) | |
tree | 745cd66c17b7a6a916febfd944e15019df851cb6 | |
parent | 4b57781f504a2dd3873eafdcd4e4a962825eed6b (diff) | |
download | e2fsprogs-a4b69b7f1809898c87bdc11502ca258a8f16a220.tar.gz |
Add dependency rule so that static library when necessary for "make check"
Some library makefiles use $(LIB)/$(LIBRARY).a as a dependency for the
static library built by the makefile fragment. Add it as a target
created when building $(LIBRARY).a so that it is rebuilt when necessary.
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
-rw-r--r-- | lib/Makefile.library | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile.library b/lib/Makefile.library index cc2c0ff8..52f28bb5 100644 --- a/lib/Makefile.library +++ b/lib/Makefile.library @@ -13,7 +13,7 @@ subdirs:: Makefile clean:: @$(RM) -f subdirs -$(LIBRARY).a: $(OBJS) +$(LIB)/$(LIBRARY).a $(LIBRARY).a: $(OBJS) @echo " GEN_LIB $@" @(if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi) @$(ARGEN) $@ $(OBJS) |