updated README
This commit is contained in:
1 parent
d6baa505ae
commit
5c295fc4bb
2 files changed
+45
-8
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user