diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-09-10 21:58:44 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-09-10 21:58:44 +0200 |
commit | f8f0a4c4b797f9465e6c3f0209410bb700add72e (patch) | |
tree | a2d84dc6d768c0f88a895197937b451d1c8cbcb3 | |
parent | Blank linez (diff) | |
parent | Allow the user to override the compiler using the CC enviromental varible in the makefile (diff) | |
download | cuberite-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-- | GNUmakefile | 5 |
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 |