add COMPILE_DEBUG option to makefile
This commit is contained in:
parent
02c712c437
commit
b3cd60a4d8
5
makefile
5
makefile
@ -33,6 +33,10 @@ ifneq ($V,1)
|
|||||||
endif
|
endif
|
||||||
${silent} ${CC} ${CFLAGS} -c $< -o $@
|
${silent} ${CC} ${CFLAGS} -c $< -o $@
|
||||||
|
|
||||||
|
ifdef COMPILE_DEBUG
|
||||||
|
#debug
|
||||||
|
CFLAGS += -g3
|
||||||
|
else
|
||||||
ifndef IGNORE_SPEED
|
ifndef IGNORE_SPEED
|
||||||
|
|
||||||
CFLAGS += -O3 -funroll-loops
|
CFLAGS += -O3 -funroll-loops
|
||||||
@ -44,6 +48,7 @@ CFLAGS += -O3 -funroll-loops
|
|||||||
#speed
|
#speed
|
||||||
CFLAGS += -fomit-frame-pointer
|
CFLAGS += -fomit-frame-pointer
|
||||||
|
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#START_INS
|
#START_INS
|
||||||
|
Loading…
Reference in New Issue
Block a user