diff options
author | Jonathan Nieder <jrnieder@gmail.com> | 2010-01-26 09:57:15 -0600 |
---|---|---|
committer | Jonathan Nieder <jrnieder@gmail.com> | 2010-01-27 02:47:43 -0600 |
commit | f2fabbf76e458010852ac7ced30594c8ab96b9fd (patch) | |
tree | 3d6694c10c81386ba237bf902dd55cf28628fc1d /t/t9150 | |
parent | Makefile: list standalone program object files in PROGRAM_OBJS (diff) | |
download | tgif-f2fabbf76e458010852ac7ced30594c8ab96b9fd.tar.xz |
Teach Makefile to check header dependencies
Add a target to use the gcc-generated makefile snippets for
dependencies on header files to check the hard-coded dependencies.
With this patch applied, if any dependencies are missing, then
make clean
make COMPUTE_HEADER_DEPENDENCIES=YesPlease
make CHECK_HEADER_DEPENDENCIES=YesPlease
will produce an error message like the following:
CHECK fast-import.o
missing dependencies: exec_cmd.h
make: *** [fast-import.o] Error 1
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Diffstat (limited to 't/t9150')
0 files changed, 0 insertions, 0 deletions