如何解决make: Nothing to be done for `all' 的方法

时间:2021-04-11 16:33:59

正常情况下,当文件没有更新且已经编译过时,再次make就会报这个错误,表示文件未更新,不需要编译。

如果异常情况没有检测到更新文件,或者想要强制重新编译,只需要make clean,再次编译即可。