diff --git a/lyric_analysis/Makefile b/lyric_analysis/Makefile index b0fe016..0223704 100644 --- a/lyric_analysis/Makefile +++ b/lyric_analysis/Makefile @@ -23,6 +23,9 @@ $(TARGET): $(OBJS) # 默认构建目标 all: $(TARGET) +# 创建目录 +$(shell mkdir -p $(OBJ_DIR) $(BIN_DIR)) + # 清理规则 clean: rm -rf $(OBJ_DIR)/*.o $(TARGET)