From 10c3fca4cc6fcf180b28cb2dafd65c7226fd4450 Mon Sep 17 00:00:00 2001 From: "Artem S. Tashkinov" Date: Sat, 27 Jun 2026 20:10:48 +0400 Subject: [PATCH 1/2] Rename makefile to Makefile Makefile in Linux/Unix/BSD is normally capitalized --- makefile => Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename makefile => Makefile (98%) diff --git a/makefile b/Makefile similarity index 98% rename from makefile rename to Makefile index 9c7b56e..6b3a9a2 100644 --- a/makefile +++ b/Makefile @@ -42,4 +42,4 @@ clean: $(RM) $(TARGET) $(RMDIR) $(OBJ_DIR) -.PHONY: all clean \ No newline at end of file +.PHONY: all clean From c441fc07c808d52e3b24d166143f16309ae80b7e Mon Sep 17 00:00:00 2001 From: "Artem S. Tashkinov" Date: Sat, 27 Jun 2026 20:14:16 +0400 Subject: [PATCH 2/2] Enable LTO Has the potential to make it faster --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6b3a9a2..bb980af 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ CXX := g++ -CXXFLAGS := -Wall -Wextra -Wpedantic -O3 -std=c++20 -march=native -fno-math-errno +CXXFLAGS := -Wall -Wextra -Wpedantic -O3 -std=c++20 -march=native -fno-math-errno -flto=auto LDFLAGS := -static -s # OS detection