From mboxrd@z Thu Jan 1 00:00:00 1970 From: Luc Van Oostenryck Subject: [PATCH 12/36] build: avoid rule-specific CFLAGS Date: Sun, 5 Nov 2017 17:25:20 +0100 Message-ID: <20171105162544.72960-12-luc.vanoostenryck@gmail.com> References: <20171105162448.72907-1-luc.vanoostenryck@gmail.com> Return-path: Received: from mail-wm0-f68.google.com ([74.125.82.68]:54063 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751030AbdKEQ0F (ORCPT ); Sun, 5 Nov 2017 11:26:05 -0500 Received: by mail-wm0-f68.google.com with SMTP id r196so9829074wmf.2 for ; Sun, 05 Nov 2017 08:26:04 -0800 (PST) In-Reply-To: <20171105162448.72907-1-luc.vanoostenryck@gmail.com> Sender: linux-sparse-owner@vger.kernel.org List-Id: linux-sparse@vger.kernel.org To: linux-sparse@vger.kernel.org Cc: =?UTF-8?q?Uwe=20Kleine-K=C3=B6nig?= , Luc Van Oostenryck Those are not evil but it's for consistency with the remaining. Signed-off-by: Luc Van Oostenryck --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index fed392c8a..73fc6d554 100644 --- a/Makefile +++ b/Makefile @@ -72,7 +72,7 @@ PROGRAMS += test-inspect INST_PROGRAMS += test-inspect test-inspect_OBJS := test-inspect.o test-inspect_OBJS += ast-model.o ast-view.o ast-inspect.o -$(test-inspect_OBJS) $(test-inspect_OBJS:.o=.sc): CFLAGS += $(GTK_CFLAGS) +$(foreach p,$(test-inspect_OBJS:.o=),$(eval $(p)_CFLAGS := $(GTK_CFLAGS))) test-inspect_LDLIBS := $(GTK_LIBS) else $(warning Your system does not have gtk3/gtk2, disabling test-inspect) -- 2.14.0