From: Avi Kivity <[email protected]>

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

Signed-off-by: Avi Kivity <[email protected]>
Signed-off-by: Marcelo Tosatti <[email protected]>

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
 
--
To unsubscribe from this list: send the line "unsubscribe kvm-commits" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to