summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-09-10 21:58:44 +0200
committerAlexander Harkness <bearbin@gmail.com>2013-09-10 21:58:44 +0200
commitf8f0a4c4b797f9465e6c3f0209410bb700add72e (patch)
treea2d84dc6d768c0f88a895197937b451d1c8cbcb3
parentBlank linez (diff)
parentAllow the user to override the compiler using the CC enviromental varible in the makefile (diff)
downloadcuberite-f8f0a4c4b797f9465e6c3f0209410bb700add72e.tar
cuberite-f8f0a4c4b797f9465e6c3f0209410bb700add72e.tar.gz
cuberite-f8f0a4c4b797f9465e6c3f0209410bb700add72e.tar.bz2
cuberite-f8f0a4c4b797f9465e6c3f0209410bb700add72e.tar.lz
cuberite-f8f0a4c4b797f9465e6c3f0209410bb700add72e.tar.xz
cuberite-f8f0a4c4b797f9465e6c3f0209410bb700add72e.tar.zst
cuberite-f8f0a4c4b797f9465e6c3f0209410bb700add72e.zip
-rw-r--r--GNUmakefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/GNUmakefile b/GNUmakefile
index f139b3d39..845aca3d9 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -21,8 +21,11 @@
# Macros
#
+# allow user to override compiler
+# if no compiler is specified make specifies cc
+ifeq ($(CC),cc)
CC = /usr/bin/g++
-
+endif
all: MCServer/MCServer