From e7ce32b26644be21d2c1a6eab5809177c46e4d2d Mon Sep 17 00:00:00 2001 From: Yggdrasil75 Date: Fri, 23 Jan 2026 13:41:57 -0500 Subject: [PATCH] let the compiler optimize. its better at it than I am. --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index a426c7d..05531cd 100644 --- a/makefile +++ b/makefile @@ -7,7 +7,7 @@ STB_DIR := ./stb # Compiler and flags CXX := g++ -CXXFLAGS = -std=c++23 -I$(IMGUI_DIR) -I$(IMGUI_DIR)/backends -I$(STB_DIR) +CXXFLAGS = -std=c++23 -O3 -march=native -I$(IMGUI_DIR) -I$(IMGUI_DIR)/backends -I$(STB_DIR) CXXFLAGS += `pkg-config --cflags glfw3` CFLAGS = $(CXXFLAGS) LDFLAGS := -L./imgui -limgui -lGL