|
|
@ -6,11 +6,7 @@ |
|
|
|
INSTALL_PATH ?= $(CURDIR)
|
|
|
|
INSTALL_PATH ?= $(CURDIR)
|
|
|
|
|
|
|
|
|
|
|
|
#-----------------------------------------------
|
|
|
|
#-----------------------------------------------
|
|
|
|
# Uncomment exactly one of the lines labelled (A), (B), and (C) below
|
|
|
|
OPT += -fno-omit-frame-pointer -momit-leaf-frame-pointer
|
|
|
|
# to switch between compilation modes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# OPT ?= -DNDEBUG # (A) Production use (optimized mode)
|
|
|
|
|
|
|
|
OPT += -O2 -fno-omit-frame-pointer -momit-leaf-frame-pointer
|
|
|
|
|
|
|
|
#-----------------------------------------------
|
|
|
|
#-----------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
# detect what platform we're building on
|
|
|
|
# detect what platform we're building on
|
|
|
@ -139,7 +135,7 @@ all: $(LIBRARY) $(PROGRAMS) |
|
|
|
|
|
|
|
|
|
|
|
release: |
|
|
|
release: |
|
|
|
$(MAKE) clean
|
|
|
|
$(MAKE) clean
|
|
|
|
OPT=-DNDEBUG $(MAKE) -j32
|
|
|
|
OPT="-DNDEBUG -O2" $(MAKE) -j32
|
|
|
|
|
|
|
|
|
|
|
|
coverage: |
|
|
|
coverage: |
|
|
|
$(MAKE) clean
|
|
|
|
$(MAKE) clean
|
|
|
|