【发布时间】: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”的功能是什么
【问题讨论】:
-
这是你的整个makefile吗?它应该做什么?..因为很明显它什么都不做,这会让你知道。