diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-09-29 17:33:13 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-09-29 17:33:13 -0700 |
commit | 4be2bf2502f892afebbb0ea51d621556c0e88019 (patch) | |
tree | f624965078421c4ab30c3ed70087ad8293355eb8 /crawl-ref/source/util | |
parent | 72068573977f6c562a7a0928ba37a16172a57b13 (diff) | |
download | crawl-ref-4be2bf2502f892afebbb0ea51d621556c0e88019.tar.gz crawl-ref-4be2bf2502f892afebbb0ea51d621556c0e88019.zip |
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 <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/util')
-rw-r--r-- | crawl-ref/source/util/lua/src/Makefile | 2 | ||||
-rw-r--r-- | crawl-ref/source/util/sqlite/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
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 |