From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KjG9k-0000bo-IG for qemu-devel@nongnu.org; Fri, 26 Sep 2008 12:27:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KjG9i-0000aj-Sd for qemu-devel@nongnu.org; Fri, 26 Sep 2008 12:27:00 -0400 Received: from [199.232.76.173] (port=34562 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KjG9i-0000ad-Gq for qemu-devel@nongnu.org; Fri, 26 Sep 2008 12:26:58 -0400 Received: from mailout.artfiles.de ([80.252.97.80]:33466) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KjG9i-00064F-6G for qemu-devel@nongnu.org; Fri, 26 Sep 2008 12:26:58 -0400 Received: from [87.185.160.209] (helo=bttr-software.de) auth=rr@bttr-software.de by mailout.artfiles.de with esmtpa (Exim 4.69) id 1KjG9e-0000y5-FL for qemu-devel@nongnu.org; Fri, 26 Sep 2008 18:26:54 +0200 Message-ID: <48DD0D4E.B9F26C5C@bttr-software.de> Date: Fri, 26 Sep 2008 18:26:54 +0200 From: Robert Riebisch MIME-Version: 1.0 Subject: Re: [Qemu-devel] Makefile question References: <48DBF7A9.1E3EB46@bttr-software.de> <48DBF8F4.3060701@codemonkey.ws> <48DBFA61.5296ADA8@bttr-software.de> <48DCF7AD.5040301@codemonkey.ws> <48DD000B.C74F7773@bttr-software.de> <48DD0213.4060702@codemonkey.ws> <48DD071A.88266F01@bttr-software.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org 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/