Make fix #49

Merged
rektdie merged 4 commits from make_fix into main 2025-04-10 06:18:06 +02:00
Showing only changes of commit 4c2e932d15 - Show all commits
+2 -2
View File
@@ -26,11 +26,11 @@ OBJS := $(patsubst $(SRC_DIR)/%.cpp, $(OBJ_DIR)/%.o, $(SRCS))
# Final binary
$(EXE)$(EXE_EXT): $(OBJS)
$(CXX) $(CXXFLAGS) -DEVALFILE=\"$(EVALFILE)\" $^ ./external/fmt/format.cc -o $@ -O3 -march=native -flto
$(CXX) $(CXXFLAGS) -DEVALFILE=\"$(EVALFILE)\" $^ ./external/fmt/format.cc -o $@ -O3 -fuse-ld=lld -march=native -flto -static
# Compile .cpp -> .o
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp | $(OBJ_DIR)
$(CXX) -std=c++20 -c -o $@ $< -O3 -march=native -flto
$(CXX) -std=c++20 -c -o $@ $< -O3 -march=native -fuse-ld=lld -flto -static
# Create object directory
$(OBJ_DIR):