Makefile fixes
This commit is contained in:
parent
7109583038
commit
f3fda5b599
1 changed files with 2 additions and 6 deletions
|
|
@ -24,7 +24,7 @@ ifeq "$(DEBUG)" "true"
|
||||||
COMPILER_FLAGS += -D_DEBUG -DDEBUG -g3
|
COMPILER_FLAGS += -D_DEBUG -DDEBUG -g3
|
||||||
BINARY_DIR = debug
|
BINARY_DIR = debug
|
||||||
else
|
else
|
||||||
COMPILER_FLAGS += -DNDEBUG -pipe -Ofast -msse$(COMPILER_SSE_VERSION) -funroll-loops -fomit-frame-pointer -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden
|
COMPILER_FLAGS += -DNDEBUG -pipe -O2 -msse$(COMPILER_SSE_VERSION) -funroll-loops -fomit-frame-pointer -fno-stack-protector -fvisibility=hidden -fvisibility-inlines-hidden
|
||||||
BINARY_DIR = release
|
BINARY_DIR = release
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
@ -33,10 +33,6 @@ COMPILER = $(CC)
|
||||||
|
|
||||||
ifeq "$(shell uname -s)" "Darwin"
|
ifeq "$(shell uname -s)" "Darwin"
|
||||||
MACOS = true
|
MACOS = true
|
||||||
else
|
|
||||||
ifeq "$(MACOS)" "true"
|
|
||||||
COMPILER = o32-clang
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq "$(MACOS)" "true"
|
ifeq "$(MACOS)" "true"
|
||||||
|
|
@ -107,4 +103,4 @@ clean:
|
||||||
rm -rf release/*.o
|
rm -rf release/*.o
|
||||||
rm -rf release/$(BINARY_OUTPUT)
|
rm -rf release/$(BINARY_OUTPUT)
|
||||||
rm -rf debug/*.o
|
rm -rf debug/*.o
|
||||||
rm -rf debug/$(BINARY_OUTPUT)
|
rm -rf debug/$(BINARY_OUTPUT)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue