参考链接: Makefile:2:*** missing separator. Stop.

Makefile:2:  *** missing separator. Stop._vim

通过修改~/.vimrc文件,添加

set tabstop=4

并且注释与tab相关的其它配置:

set expandtab
set ts=4

如下:

Makefile:2:  *** missing separator. Stop._vim_02

然后修改Makefile文件,command前以[Tab]空格,那么命令也随之由白色变为红色(如果终端显示配置颜色的话,颜色变化),问题解决。

Makefile:2:  *** missing separator. Stop._vim_03