From: Jonathan Nieder Date: Sun, 10 Oct 2010 05:50:32 +0000 (-0500) Subject: Makefile: dependencies for vcs-svn tests X-Git-Tag: v1.7.4-rc0~85 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/f188e33e8a4112ce26cee94f5533f5459e62879f?ds=inline;hp=f188e33e8a4112ce26cee94f5533f5459e62879f Makefile: dependencies for vcs-svn tests The vcs-svn tests (test-treap.o et al) depend on the vcs-svn headers for declarations and inline functions. Declare the dependency. While at it, declare a dependency of the vcs-svn objects (vcs-svn/string_pool.o et al) on $(LIB_H) to reflect use within the vcs-svn library of git-compat-util.h and cache.h. Without this change, tweaks to inline functions in those headers do not provoke rebuilds of the corresponding tests[*], making such changes unnecessarily difficult to test. Before: $ touch vcs-svn/*.h && make test-treap $ After: $ touch vcs-svn/*.h && make test-treap CC test-treap.o LINK test-treap $ [*] unless COMPUTE_HEADER_DEPENDENCIES is enabled Detected with "make CHECK_HEADER_DEPENDENCIES=1". Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano ---