qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Makefile question


From: Robert Riebisch
Subject: Re: [Qemu-devel] Makefile question
Date: Fri, 26 Sep 2008 18:26:54 +0200

Robert Riebisch wrote:

> Btw: What's the difference betweeen VL_OBJS and OBJS in Makefile.target?
> I added "OBJS+=version.o" to the 0.9.1 Makefile.target, but it isn't
> linked in to the final EXE. If I delete version.o and version.rc, it
> doesn't even complain about not finding these files.

Catched. In 0.9.1 $(QEMU_SYSTEM) depends on $(VL_OBJS), not $(OBJS).

$(QEMU_SYSTEM): $(VL_OBJS) ../libqemu_common.a libqemu.a
        $(CC) $(VL_LDFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) $(SDL_LIBS)
$(COCOA_LIBS) $(VL_LIBS)

Adding version.o to VL_OBJS gives "No rule to make target `version.c',
needed by `version.o'.". Probably because of:

vldepend: $(VL_OBJS:.o=.c)
        $(CC) -MM $(CFLAGS) $(CPPFLAGS) $(BASE_CFLAGS) $^ 1>.depend

So I'll introduce RES_OBJS in my private build only, because QEMU SVN is
very different.

Robert Riebisch
-- 
BTTR Software
http://www.bttr-software.de/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]