From dcff25f2cd8c11a9368cc2369aeb0319c32d9e26 Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Sun, 17 Jun 2012 19:01:32 -0500 Subject: make: automatically include dependencies in recursive subdir rules (v2) I think I understand enough of what's going on in these rules to ensure this is right. But I could certainly use a second or third opinion... Signed-off-by: Anthony Liguori --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 74f5c5fbc5..93fb7956b0 100644 --- a/Makefile +++ b/Makefile @@ -406,5 +406,5 @@ tar: Makefile: $(GENERATED_HEADERS) # Include automatically generated dependency files --include $(wildcard *.d audio/*.d slirp/*.d block/*.d net/*.d ui/*.d qapi/*.d) --include $(wildcard qga/*.d hw/*.d hw/usb/*.d) +# All subdir dependencies come automatically from our recursive subdir rules +-include $(wildcard *.d) -- cgit v1.2.1