【问题标题】:mingw32-make.exe: Nothing to be done for 'all'mingw32-make.exe:“所有”都无事可做
【发布时间】:2014-07-30 04:18:43
【问题描述】:

当我尝试运行一个 cpp 项目时,我遇到了运行时错误。

编译日志中显示以下消息:

mingw32-make.exe -f "D:\XXXXXXXXXXXXX\Makefile.win" all
mingw32-make.exe: Nothing to be done for 'all'.

在 Makefile 中,我发现:

.PHONY: all all-before all-after clean clean-custom

all: all-before $(BIN) all-after

但我不明白错误到底是什么,“all”的功能是什么

【问题讨论】:

标签: c++ makefile target


【解决方案1】:

这不是错误消息。

基本上,它告诉您all 目标(以及暗示其所有依赖项——all-beforeall-after 以及 BIN 中的任何内容)已经是最新的,即不需要make 运行任何命令。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2021-03-02
    • 1970-01-01
    • 2021-09-06
    • 1970-01-01
    相关资源
    最近更新 更多