Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b57781
)
Add dependency rule so that static library when necessary for "make check"
author
Theodore Ts'o
<tytso@mit.edu>
Tue, 1 Apr 2008 20:45:37 +0000
(16:45 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Tue, 1 Apr 2008 20:45:37 +0000
(16:45 -0400)
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>
lib/Makefile.library
patch
|
blob
|
history
diff --git
a/lib/Makefile.library
b/lib/Makefile.library
index
cc2c0ff
..
52f28bb
100644
(file)
--- a/
lib/Makefile.library
+++ b/
lib/Makefile.library
@@
-13,7
+13,7
@@
subdirs:: Makefile
clean::
@$(RM) -f subdirs
-$(LIBRARY).a: $(OBJS)
+$(LIB
)/$(LIBRARY).a $(LIB
RARY).a: $(OBJS)
@echo " GEN_LIB $@"
@(if test -r $@; then $(RM) -f $@.bak && $(MV) $@ $@.bak; fi)
@$(ARGEN) $@ $(OBJS)