author | Jonathan Nieder <jrnieder@gmail.com> | |
Tue, 26 Jan 2010 15:44:47 +0000 (09:44 -0600) | ||
committer | Jonathan Nieder <jrnieder@gmail.com> | |
Tue, 26 Jan 2010 16:07:33 +0000 (10:07 -0600) | ||
commit | 21528abc3612e3dae0c195b81848dd9aa18d2a02 | |
tree | ab6e4dc17c1f98ee0e1448776e90748624e73d3c | tree | snapshot |
parent | b30ccd757354ea09b41e4359b0a5ab429d12f02e | commit | diff |
Makefile: add missing header file dependencies
LIB_H is missing exec_cmd.h and color.h. cache.h includes
SHA1_HEADER, and thus so does almost everything else, so add that
to LIB_H, too. xdiff-interface.h is not included by any header
files, but so many source files use xdiff that it is simplest to
include it in LIB_H, too.
xdiff-interface.o uses the xdiff library heavily; let it depend
on all xdiff headers to avoid needing to keep track of which
headers it uses.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
LIB_H is missing exec_cmd.h and color.h. cache.h includes
SHA1_HEADER, and thus so does almost everything else, so add that
to LIB_H, too. xdiff-interface.h is not included by any header
files, but so many source files use xdiff that it is simplest to
include it in LIB_H, too.
xdiff-interface.o uses the xdiff library heavily; let it depend
on all xdiff headers to avoid needing to keep track of which
headers it uses.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Makefile | diff | blob | history |