|
|
@@ -45,18 +45,18 @@ DEP_DIR := $(BUILD_DIR)/.dep |
|
|
|
|
|
|
|
# ========== Compiler settings ========== |
|
|
|
# Compiler flags for debug and release |
|
|
|
DEB_CFLAGS := -DDEBUG -g3 -Wall -Wextra -std=c11 #-fopenmp |
|
|
|
REL_CFLAGS := -Wall -Wextra -O3 -std=c11 #-fopenmp |
|
|
|
DEB_CXXFLAGS := -DDEBUG -g3 -Wall -Wextra -std=c++17 #-fopenmp |
|
|
|
REL_CXXFLAGS := -Wall -Wextra -O3 -std=c++17 #-fopenmp |
|
|
|
DEB_CFLAGS := -DDEBUG -g3 -Wall -Wextra -std=c11 -fopenmp |
|
|
|
REL_CFLAGS := -Wall -Wextra -O3 -std=c11 -fopenmp |
|
|
|
DEB_CXXFLAGS := -DDEBUG -g3 -Wall -Wextra -std=c++17 -fopenmp |
|
|
|
REL_CXXFLAGS := -Wall -Wextra -O3 -std=c++17 -fopenmp |
|
|
|
|
|
|
|
# Pre-defines |
|
|
|
# PRE_DEFS := MYCAB=1729 SUPER_MODE |
|
|
|
PRE_DEFS := #_GLIBCXX_PARALLEL |
|
|
|
PRE_DEFS := _GLIBCXX_PARALLEL |
|
|
|
|
|
|
|
# ============== Linker settings ============== |
|
|
|
# Linker flags (example: -pthread -lm) |
|
|
|
LDFLAGS := -pthread # -fopenmp |
|
|
|
LDFLAGS := -pthread -fopenmp |
|
|
|
|
|
|
|
# Map output file |
|
|
|
MAP_FILE := output.map |
|
|
|