From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:57933) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO1Sn-0006al-Ib for qemu-devel@nongnu.org; Tue, 16 Oct 2012 03:21:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TO1Sh-00084r-RV for qemu-devel@nongnu.org; Tue, 16 Oct 2012 03:21:17 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TO1Sh-00084c-JI for qemu-devel@nongnu.org; Tue, 16 Oct 2012 03:21:11 -0400 Message-ID: <507D0AE1.80503@redhat.com> Date: Tue, 16 Oct 2012 09:21:05 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1350076268-18461-1-git-send-email-mdroth@linux.vnet.ibm.com> <1350076268-18461-27-git-send-email-mdroth@linux.vnet.ibm.com> <507BDFD5.80201@redhat.com> <20121015163701.GU16157@illuin> In-Reply-To: <20121015163701.GU16157@illuin> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v4 26/26] qidl: unit tests and build infrastructure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Roth Cc: kwolf@redhat.com, peter.maydell@linaro.org, aliguori@us.ibm.com, qemu-devel@nongnu.org, blauwirbel@gmail.com Il 15/10/2012 18:37, Michael Roth ha scritto: > There is another way to do this (still using a "dummy" target) that is a > bit less cryptic: > > QIDL-PP-%: %.c qidl.h ... > > > %.o: QIDL-PP-% > > > But make detects that QIDL-PP-% is an intermediate target and removes > the *.qidl.c files after the build How so? Make does not even _know_ that %.qidl.c exists. Paolo