From: Eduardo Habkost Date: Wed, 18 Jul 2012 17:22:27 +0000 (-0300) Subject: tests: Makefile: include dependency files X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~3848 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14117c7ba1f2b70a167cb8e4546ee5ec24af3cc9;p=sdk%2Femulator%2Fqemu.git 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 Acked-by: Paolo Bonzini Signed-off-by: Blue Swirl --- diff --git a/tests/Makefile b/tests/Makefile index 9675ba7..f3f4159 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -147,3 +147,5 @@ check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS)) check-unit: $(patsubst %,check-%, $(check-unit-y)) check-block: $(patsubst %,check-%, $(check-block-y)) check: check-unit check-qtest + +-include $(wildcard tests/*.d)