mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-15 22:20:12 +00:00
22 lines
680 B
Plaintext
22 lines
680 B
Plaintext
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 ;
|
|
COMPILER.CFLAGS.profile += -gp -O3 ;
|
|
|
|
# Include CS build rules
|
|
include $(TOP)/mk/jam/build.jam ;
|