updated README

This commit is contained in:
rektdie committed 2025-01-23 14:33:51 +01:00
1 parent d6baa505ae
commit 5c295fc4bb
2 files changed
+45 -8

No files matched your search

+2 -2
View File
@@ -23,11 +23,11 @@ OBJS := $(addprefix $(OBJ_DIR)/, $(notdir $(SRCS:.cpp=.o)))
# Target executable
$(EXE)$(EXE_EXT): $(OBJS)
$(CXX) -o $@ $^ -O3
$(CXX) -o $@ $^ -O3 -lpthread
# Rule to compile source files to object files
$(OBJ_DIR)/%.o: $(SRC_DIR)/%.cpp $(SRC_DIR)/types.h | $(OBJ_DIR)
$(CXX) -c -o $@ $< -O3
$(CXX) -c -o $@ $< -O3 -lpthread
# Create the object directory if it doesn't exist
$(OBJ_DIR):