diff --git a/Makefile b/Makefile index 78e859c..75fdb17 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # Compiler and flags CXX = g++ -CXXFLAGS = -std=c++17 -Wall -Wextra -O3 -LDFLAGS = -lncurses -ltinfo +CXXFLAGS = -std=c++17 -Wall -Wextra -O3 --function-sections -fdata-sections -flto -march=native -ffast-math +LDFLAGS = -lncurses -ltinfo -Wl,--gc-sections -flto -Wl,-O2 # Directories SRC_DIR = src