Only compile the first dependency (the source file), not the rest
(headers).

Signed-off-by: Avi Kivity <a...@redhat.com>
---
 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 majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to