当我尝试运行一个 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”的作用是什么
最佳答案
这不是错误信息。
基本上它告诉您 all
目标(以及,暗示它的所有依赖项——all-before
、all-after
以及 BIN
中的任何内容) 已经是最新的,即不需要 make
运行任何命令。
关于c++ - mingw32-make.exe : Nothing to be done for 'all' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25028700/