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>
bitmap-optimize
Theodore Ts'o 2008-04-01 16:45:37 -04:00
parent 4b57781f50
commit a4b69b7f18
1 changed files with 1 additions and 1 deletions

View File

@ -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)