]> git.proxmox.com Git - mirror_qemu.git/commitdiff
ui/Makefile.objs: delete unnecessary cocoa.o dependency
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 10 Oct 2013 11:26:09 +0000 (19:26 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 16 Oct 2013 16:21:01 +0000 (18:21 +0200)
Delete an unnecessary dependency for cocoa.o; we already have
a general rule that tells Make that we can build a .o file
from a .m source using an ObjC compiler, so this specific
rule is unnecessary. Further, it is using the dubious construct
"$(SRC_PATH)/$(obj)" to get at the source directory, which will
break when $(obj) is redefined as part of the preparation for
per-object library support.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
ui/Makefile.objs

index 6ddc0def6d85e6f62ab2d9bd5cbb8d31365837fb..f33be47576d1231e5e5b4dc90c78fa4b97af6974 100644 (file)
@@ -17,6 +17,4 @@ common-obj-$(CONFIG_GTK) += gtk.o x_keymap.o
 
 $(obj)/sdl.o $(obj)/sdl_zoom.o: QEMU_CFLAGS += $(SDL_CFLAGS) 
 
-$(obj)/cocoa.o: $(SRC_PATH)/$(obj)/cocoa.m
-
 $(obj)/gtk.o: QEMU_CFLAGS += $(GTK_CFLAGS) $(VTE_CFLAGS)