From ff1cdab863ab818731ecd1728773dcb867d25b4b Mon Sep 17 00:00:00 2001 From: Tycho Bickerstaff Date: Tue, 10 Sep 2013 20:38:06 +0100 Subject: Allow the user to override the compiler using the CC enviromental varible in the makefile --- GNUmakefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3