From fc917e4d91e05ed28b92e155b6c3b45f896df83f Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Thu, 2 Feb 2012 12:45:07 +0000 Subject: makefile: added (commented) debug commandline options git-svn-id: http://mc-server.googlecode.com/svn/trunk@224 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'makefile') diff --git a/makefile b/makefile index bf183922f..460aa3ee4 100644 --- a/makefile +++ b/makefile @@ -11,11 +11,21 @@ # CC = /usr/bin/g++ + +# _X: These settings produce a debug build, with gdb symbols: +# CC_OPTIONS = -s -ggdb +# CCE_OPTIONS = -s -x c -ggdb +# LNK_OPTIONS = -lstdc++ -pthread -ggdb + + +# _X: these settings should be used for the release build: CC_OPTIONS = -s -O3 CCE_OPTIONS = -s -x c -O3 LNK_OPTIONS = -lstdc++ -pthread -O3 + + # # INCLUDE directories for MCServer # -- cgit v1.2.3