From 02dd2b4aea055a9a73425fd92a34c215b69f0e21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eric=20Engestr=C3=B6m?= Date: Mon, 17 Feb 2014 20:16:54 +0100 Subject: [PATCH] hide error if clang is not installed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit hiding the ugly `which: no clangi in (/usr/local/bin:/usr/bin:…)` --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 3e2d92da..e5a85a64 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ CFLAGS+=-D__QC_MODE__ endif -CLANG=$(shell which clang) +CLANG=$(shell which clang 2>/dev/null) ifneq (${CLANG},${EMPTY}) $(info Using clang compiler: ${CLANG})