Received: from eggs.gnu.org ([2001:4830:134:3::10]:42230) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAFl5-000472-Df for qemu-devel@nongnu.org; Tue, 07 Jun 2016 08:05:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAFkz-0008TL-Ds for qemu-devel@nongnu.org; Tue, 07 Jun 2016 08:05:22 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAFkz-0008TH-82 for qemu-devel@nongnu.org; Tue, 07 Jun 2016 08:05:17 -0400 References: <1465300083-72463-1-git-send-email-pbonzini@redhat.com> <1465300083-72463-2-git-send-email-pbonzini@redhat.com> From: Paolo Bonzini Message-ID: <0e015abb-becc-081a-4965-0f53bd14eb74@redhat.com> Date: Tue, 7 Jun 2016 14:05:10 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH 1/3] Makefile: add dependency on scripts/create_config List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: QEMU Developers On 07/06/2016 13:58, Peter Maydell wrote: > Does it work to add the dependency on the RHS of the pattern rule > instead, like: >=20 > config-%.h-timestamp: config-%.mak $(SRC_PATH)/scripts/create_config > $(call quiet-command, sh $(SRC_PATH)/scripts/create_config < > $< > $@, " GEN $(TARGET_DIR)config-$*.h") Yes, that works too. Paolo