summaryrefslogtreecommitdiff
path: root/Build/flags.mk
blob: ebf702a54dbda4e52f2740f41ff1b9db35d0b82d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

ifeq ($(strip $(BUILD_CONFIG)),Debug)
DEBUG_OP = -D_DEBUG
CPP_DEBUG_OP = -g3 -D_DEBUG

OPTIMIZATION_OP =
CPP_OPTIMIZATION_OP = -O0
else
DEBUG_OP =
CPP_DEBUG_OP = -g

OPTIMIZATION_OP =
CPP_OPTIMIZATION_OP = -O3
endif

COMPILE_FLAGS = $(DEBUG_OP) $(OPTIMIZATION_OP)

CPP_COMPILE_FLAGS = $(CPP_DEBUG_OP) $(CPP_OPTIMIZATION_OP) -std=c++0x -Wall -c -fmessage-length=0

LINK_FLAGS =

AR_FLAGS =

EDC_COMPILE_FLAGS =