歌词解析: 更新优化 Makefile 添加创建目录规则

This commit is contained in:
flykhan 2023-07-22 15:46:54 +08:00
parent a9ce625d3a
commit 148a8c4516
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ $(TARGET): $(OBJS)
# 默认构建目标 # 默认构建目标
all: $(TARGET) all: $(TARGET)
# 创建目录
$(shell mkdir -p $(OBJ_DIR) $(BIN_DIR))
# 清理规则 # 清理规则
clean: clean:
rm -rf $(OBJ_DIR)/*.o $(TARGET) rm -rf $(OBJ_DIR)/*.o $(TARGET)