Index: GNUmakefile =================================================================== --- GNUmakefile (revision 341) +++ GNUmakefile (working copy) @@ -20,17 +20,17 @@ # CC = /usr/bin/g++ +SVNDEF := -D'SVN_VER="$(shell svnversion -n .)"' - all: MCServer ifeq ($(release),1) -CC_OPTIONS = -s -O3 +CC_OPTIONS = -s -O3 $(SVNDEF) CCE_OPTIONS = -s -x c -O3 LNK_OPTIONS = -lstdc++ -pthread -O3 BUILDDIR = build/release/ else -CC_OPTIONS = -s -ggdb +CC_OPTIONS := -s -ggdb $(SVNDEF) CCE_OPTIONS = -s -x c -ggdb LNK_OPTIONS = -lstdc++ -pthread -ggdb BUILDDIR = build/debug/