-
Notifications
You must be signed in to change notification settings - Fork 16
/
Options.make
100 lines (87 loc) · 3.48 KB
/
Options.make
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
# Project: SPRINT
# File: Options.make - configurable part of build environment
# Revision: $Id$
# -----------------------------------------------------------------------------
# configurable setting: compile mode
#
# standard - most debug error checks (i.e. assertion) and all release
# optimizations enabled. very fast, catches most programming
# errors, but inaccurate when being debugged using gdb.
# (high speed, moderate risk)
# Should be the default compile mode.
#
# release - all assertion checking (debug checks) disabled, but
# only run-time checks (for user errors) enabled, fully
# optimized. very fast, but won't catch any programming
# errors. (maximum speed, maximum risk)
# Should be used in production systems with proven set-ups
#
# debug - all error checks enabled, no optimizations at all.
# very slow (about a factor of 4 compared to standard and
# release), but very safe against programming and user errors.
# very accurate when being debugged. (no risk, no fun;-)
# Should be used when trying to find a bug (especially when
# using a debugger)
#
# Note that you can change the compile mode on the command line using, e.g.
# make COMPILE=debug
COMPILE = standard
#COMPILE = release
#COMPILE = debug
#COMPILE = debug_light
# -----------------------------------------------------------------------------
# configurable setting: debug level
#
# define a DBG_LEVEL value equal or greater than 0 to control the verboseness
# of your DBG(level) or DBGX(level) macro commands (see src/Core/Debug.hh).
# Only those debug commands whose level is lower or equal than the specified
# DBG_LEVEL will be compiled and executed, all other commands will be removed
# by the compiler.
#
# In release mode all debug commands are turned of by default.
#
DBG_LEVEL = -1
# -----------------------------------------------------------------------------
# configurable setting: profiling mode
#
# none - no support for run-time profiling
# gprof - support for gprof
# (-pg, statically linked, profiling libc)
# valgrind - support for valgrind/cachegrind
# (debugging symbols, no MMX code)
#
# Note that you can change the profiling mode on the command line using, e.g.
# make PROFILE=gprof
#
PROFILE = none
#PROFILE = gprof
#PROFILE = valgrind
# -----------------------------------------------------------------------------
# configurable setting: nameing convention for binary files
#
# normal - use plain names
# extended - use suffixes for architecture, compile mode
# and profiling mode
#
#BINARYFILENAMES = normal
BINARYFILENAMES = extended
# -----------------------------------------------------------------------------
# configurable setting: used compiler suite
#
# gcc - GNU Compiler Collection
# icc - Intel(R) C / C++ Compiler
COMPILER = gcc
# COMPILER = icc
# -----------------------------------------------------------------------------
# configurable setting: install target path
INSTALL_TARGET = $(TOPDIR)/arch/$(OBJEXT)
#INSTALL_TARGET = /u/sprint
# Additional CC Flags
ADDCCFLAGS =
# Additional Suffix for build-directories and executable extension
SUFFIX =
# Object build directory
# Empty string to use build directories in the source tree.
# .build/$(OBJDIR) are links to directories in $(OBJBUILDDIR)
OBJBUILDDIR =
#OBJBUILDDIR = $(TMPDIR)/build$(shell pwd)