歌词解析: 更新优化 Makefile 添加创建目录规则
This commit is contained in:
parent
a9ce625d3a
commit
148a8c4516
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue