From 181e2ebcc675dd37a64eb0b903230bd787fa1eb1 Mon Sep 17 00:00:00 2001 From: Lai Jiangshan Date: Fri, 16 Dec 2011 17:11:59 +0800 Subject: [PATCH] kvm-tools: Create util/rbtree.d I found the program is always RE-created when I type 'make' even it is new: $ make LINK lkvm LN vm I use 'make -d' to find the reason: rbtree.d is missing. When I type 'make' after this patch applied(the lkvm is new): $ make make: Nothing to be done for `all'. Acked-by: Sasha Levin Signed-off-by: Lai Jiangshan Signed-off-by: Pekka Enberg --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 554eb8a..ce3df65 100644 --- a/Makefile +++ b/Makefile @@ -247,6 +247,9 @@ $(GUEST_INIT_S2): guest/init_stage2.c $(DEPS): +util/rbtree.d: ../../lib/rbtree.c + $(Q) $(CC) -M -MT util/rbtree.o $(CFLAGS) $< -o $@ + %.d: %.c $(Q) $(CC) -M -MT $(patsubst %.d,%.o,$@) $(CFLAGS) $< -o $@