|
|
@ -22,6 +22,7 @@ MKDIR=mkdir -p |
|
|
|
RM=rm -rf
|
|
|
|
RM=rm -rf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ifneq ($(DEBUG),1) |
|
|
|
CFLAGS_OPT+=-fomit-frame-pointer -DNDEBUG
|
|
|
|
CFLAGS_OPT+=-fomit-frame-pointer -DNDEBUG
|
|
|
|
ifeq ($(CXX),clang++)
|
|
|
|
ifeq ($(CXX),clang++)
|
|
|
|
CFLAGS_OPT+=-O3
|
|
|
|
CFLAGS_OPT+=-O3
|
|
|
@ -39,6 +40,7 @@ endif |
|
|
|
else
|
|
|
|
else
|
|
|
|
CFLAGS_OPT+=$(MARCH)
|
|
|
|
CFLAGS_OPT+=$(MARCH)
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
endif |
|
|
|
CFLAGS_WARN=-Wall -Wextra -Wformat=2 -Wcast-qual -Wcast-align -Wwrite-strings -Wfloat-equal -Wpointer-arith
|
|
|
|
CFLAGS_WARN=-Wall -Wextra -Wformat=2 -Wcast-qual -Wcast-align -Wwrite-strings -Wfloat-equal -Wpointer-arith
|
|
|
|
CFLAGS+= -g3
|
|
|
|
CFLAGS+= -g3
|
|
|
|
ifeq ($(BIT),0) |
|
|
|
ifeq ($(BIT),0) |
|
|
|