Only compile the first dependency (the source file), not the rest (headers). Signed-off-by: Avi Kivity <avi@xxxxxxxxxx> --- kvm/user/Makefile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/kvm/user/Makefile b/kvm/user/Makefile index d9fbf17..ed462bb 100644 --- a/kvm/user/Makefile +++ b/kvm/user/Makefile @@ -52,7 +52,7 @@ $(libcflat): $(cflatobjs) $(AR) rcs $@ $^ %.o: %.S - $(CC) $(CFLAGS) -c -nostdlib -o $@ $^ + $(CC) $(CFLAGS) -c -nostdlib -o $@ $< -include .*.d -- 1.6.4.1 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html