1. 程式人生 > >makefile error :make: `newhope_kem' is up to date (已解決)

makefile error :make: `newhope_kem' is up to date (已解決)

今天在編譯makefile檔案時出現一下錯誤:

QY:newhope512cca QY$ sudo make

make: `newhope_kem' is up to date.

 

參考:https://blog.csdn.net/beizhetaiyangxingzou/article/details/39967149

http://www.gnu.org/software/make/manual/html_node/Phony-Targets.html

解決方法就是加上“.PHONY: newhope_kem”如下圖第十二行所示: