关于windows下 make: *** No rule to make target 'deploy'. Stop.
今天在合并seajs遇到了这样的问题:
make: *** No rule to make target 'deploy'. Stop.
我不明白,但是在强大的google面前,答案还是呈现出来了.
gcc前一定要有一个tab分隔符,不能有空格;否则会出现"make: *** No rule to make target 'deploy'. Stop."问题
make中规定每一Shell命令之前的开头必须使用<tab>字符
build: @spm build deploy: @rm -rf ../../sea-modules/examples/hello @lmkdir -p ../../sea-modules/examples/hello @lmkdir -p ../../sea-modules/examples/hello/1.0.0 @cp dist/*.* ../../sea-modules/examples/hello/1.0.0 @echo @echo " deploy to seajs-modules/examples/hello/1.0.0" @echo
所以Gcc之前一定是Tab 键, 而不是空格键. (谨记)