missing separator

make的时候发现出现

Makefile:8: *** missing separator. Stop.

在http://gcc.gnu.org/ml/gcc/2001-02/msg00635.html这里看到了解决方法,实际上也很简单,就是必须要有一个tab

>I tried to write the easy makefile

>8: gcc -o test DBcomplx.o

>When I call the make command I'got always the error message
>
>makefile:8: *** missing separator. Stop.

The problem is that that white space at the start of line 8 *must* be
a TAB character, not ordinary spaces.

Further problems with make would be better addressed to the make help
mailing list, which is at help-make@gnu.org

posted @ 2011-12-23 15:52  yarpee  阅读(484)  评论(0编辑  收藏  举报