Makefile : raised optimization level to O4

This commit is contained in:
saundersp 2024-06-09 22:42:12 +02:00
parent 8058fac200
commit e4d6ee79ff

View File

@ -2,8 +2,8 @@ CC := g++ -m64 -std=c++17
OBJ_DIR := bin OBJ_DIR := bin
SRC_DIR := . SRC_DIR := .
#CFLAGS := -Og -g -rdynamic -pg -ggdb3 -D__DEBUG #CFLAGS := -Og -g -rdynamic -pg -ggdb3 -D__DEBUG
CFLAGS := -O2 CFLAGS := -O4
CFLAGS := $(CFLAGS) -Wall -Wextra -Wno-error=unused-function -pedantic CFLAGS := $(CFLAGS) -Wall -Werror -Wextra -Wno-error=unused-function -pedantic
EXEC := $(OBJ_DIR)/data EXEC := $(OBJ_DIR)/data
SRC := $(wildcard $(SRC_DIR)/*.cpp) SRC := $(wildcard $(SRC_DIR)/*.cpp)
HEADER := $(wildcard $(SRC_DIR)/*.hpp) HEADER := $(wildcard $(SRC_DIR)/*.hpp)