Nothing to be done for makefilename
运行makefile时的一个离奇错误,make时报错:
"Nothing to be done for makefilename"
代码没有任何问题,查了半天没头绪,最后尝试用shell脚本代替makefile,发现脚本也报错:
: No such file or directory
即使shell脚本里只有一个echo语句也不行,真是奇了个大怪
无意中发现了解决办法:
新建一个文件,把旧文件内容copy到新的文件就可以了,即使解决问题了我也不知道问题出在何处,makefile和shell脚本都没问题了
还没人转发这篇日记