Makefile: drop extra dependencies for test helpers
A few test-helpers have Makefile dependencies on specific object files. But since these files are part of libgit.a (which all of the helpers link against), the inclusion is simply redundant. These were once necessary, but became redundant due to5c5ba73
(Makefile: Use generic rule to build test programs, 2007-05-31), which added the $(GITLIBS) dependency (but didn't prune the extra dependency lines). Later commits then cargo-culted the practice (e.g.,b4285c7
). Note that we _do_ need to leave the dependencies on the svn library, as that is not part of the usual link command. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
2ec075d903
commit
1be36b60f1
8
Makefile
8
Makefile
@ -2231,16 +2231,8 @@ perf: all
|
||||
|
||||
.PHONY: test perf
|
||||
|
||||
t/helper/test-ctype$X: ctype.o
|
||||
|
||||
t/helper/test-date$X: date.o ctype.o
|
||||
|
||||
t/helper/test-delta$X: diff-delta.o patch-delta.o
|
||||
|
||||
t/helper/test-line-buffer$X: vcs-svn/lib.a
|
||||
|
||||
t/helper/test-parse-options$X: parse-options.o parse-options-cb.o
|
||||
|
||||
t/helper/test-svn-fe$X: vcs-svn/lib.a
|
||||
|
||||
.PRECIOUS: $(TEST_OBJS)
|
||||
|
Reference in New Issue
Block a user