From 4be2bf2502f892afebbb0ea51d621556c0e88019 Mon Sep 17 00:00:00 2001 From: Steven Noonan Date: Tue, 29 Sep 2009 17:33:13 -0700 Subject: util/*/Makefile: allow compiler selection on command-line Allows neat compilers like 'llvm-gcc' or even experimental ones like 'clang' to be used. Signed-off-by: Steven Noonan --- crawl-ref/source/util/lua/src/Makefile | 2 +- crawl-ref/source/util/sqlite/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/util') diff --git a/crawl-ref/source/util/lua/src/Makefile b/crawl-ref/source/util/lua/src/Makefile index 2cb4823405..fb1b610d4f 100644 --- a/crawl-ref/source/util/lua/src/Makefile +++ b/crawl-ref/source/util/lua/src/Makefile @@ -9,7 +9,7 @@ # Your platform. See PLATS for possible values. PLAT= none -CC= gcc +CC ?= gcc CFLAGS= -O2 -Wall $(MYCFLAGS) AR= ar rcu RANLIB= ranlib diff --git a/crawl-ref/source/util/sqlite/Makefile b/crawl-ref/source/util/sqlite/Makefile index 2bc3970561..520bd75714 100644 --- a/crawl-ref/source/util/sqlite/Makefile +++ b/crawl-ref/source/util/sqlite/Makefile @@ -4,7 +4,7 @@ LIBSQL = libsqlite3.a AR = ar rcu -CC = gcc +CC ?= gcc RANLIB = ranlib RM_F = rm -f -- cgit v1.2.3-54-g00ecf