-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJamrules
More file actions
21 lines (18 loc) · 687 Bytes
/
Jamrules
File metadata and controls
21 lines (18 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
if ! $(BUILDTOP)
{
BUILDTOP = . ;
}
# Include configuration.
JAMCONFIG ?= $(BUILDTOP)/Jamconfig ;
include $(JAMCONFIG) ;
# Set up compiler flags.
# Unfortunately, we can not use FDefines here since Boost Jam does not have it,
# and we have not yet included mk/jam/build.jam which provides an emulation
# layer for Boost. We can not include build.jam earlier because these flags
# need to be defined before build.jam is included. :-(
COMPILER.CFLAGS = -Wall -Wno-unknown-pragmas ;
COMPILER.CFLAGS.optimize = -O3 -fomit-frame-pointer -ffast-math ;
COMPILER.CFLAGS.debug = -g3 -DCS_DEBUG ;
COMPILER.CFLAGS.profile = -gp -O3 ;
# Include CS build rules
include $(TOP)/mk/jam/build.jam ;