~z-man/armagetronad/0.4-build_eclipse-unified

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
########################
# development settings #
########################

# activate debugging options that don't eat away much CPU time
DEBUGLEVEL=3

# activate warnings that are not too hard to avoid
CODELEVEL=2

####################
# CXXFLAG settings #
####################

# common flags: no wrapping of error messages
CXXFLAGS_COMMON=-fmessage-length=0

# z-man's setting so he can't ignore warnings
# CXXFLAGS_COMMON=-Werror -fmessage-length=0

# flags for profiling
# CXXFLAGS_COMMON=-g -pg

# extra debug flags (most are handled by configure based on the debuglevel)
CXXFLAGS_DEBUG=$(CXXFLAGS_COMMON)

# extra optimizing flags (most are handled by configure, the optimized build
# is done with DEBUGLELVEL=0)
CXXFLAGS_OPTIMIZE=$(CXXFLAGS_COMMON)

# additional CXXFLAGS for other configurations
CXXFLAGS_SERVER=
CXXFLAGS_CLIENT=
CXXFLAGS_SERVER_DEBUG=
CXXFLAGS_CLIENT_DEBUG=
CXXFLAGS_SERVER_OPTIMIZE=
CXXFLAGS_CLIENT_OPTIMIZE=

########################
# environment settings #
########################

# automatically clean project if configuration changed
# ( disabled by default, it can be an annoying feature )
# include autoclean

# default make targets: one for building from the build project
default: debug
# and one for building from the AA project
AAdefault: debug.global