From 557565e33167d7fa93d0daa26cb19c182a4a942e Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 15 Aug 2013 23:06:26 +0200 Subject: Makefile: use CC from env if set Allows us to run scan-build Signed-off-by: Florian Pritz --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index e33c1a6..3b2c172 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ MANDIR=$(PREFIX)/share/man BINDIR=$(PREFIX)/bin LIBDIR=$(PREFIX)/lib MY_LIBDIR=$(LIBDIR)/fb-client -CC=cc +CC?=cc CFLAGS:=-std=c99 -O2 -Wall -Wextra -pedantic $(CFLAGS) LIBCURL:=$(shell pkg-config --silence-errors --libs --cflags libcurl) -- cgit v1.2.3-24-g4f1b