tests: Makefile: include dependency files
commit14117c7ba1f2b70a167cb8e4546ee5ec24af3cc9
authorEduardo Habkost <ehabkost@redhat.com>
Wed, 18 Jul 2012 17:22:27 +0000 (18 14:22 -0300)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 28 Jul 2012 09:13:49 +0000 (28 09:13 +0000)
tree25b33debe5adda84dff7a52ec79d63bb1a726efe
parent52d06136bd534d3984fc33497334fd7d808ef2bd
tests: Makefile: include dependency files

Otherwise 'make check' won't recompile files that need to be recompiled
because of header changes.

To reproduce the bug, run:

 $ make check  # succeeds
 $ echo B0RKED > hw/mc146818rtc_regs.h
 $ make check  # is supposed to try to rebuild tests/rtc-test.o and fail

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
tests/Makefile