摘自:http://mp870601.blog.163.com/blog/static/13675745320107183038584/
在学习makefile的时候,写了一个helloworld
#This is my first makefile!!!
all:a1 a2
@echo this is al!
a1:
@echo this is a1!
a2:
@echo this is a2!
出现makefile:3: *** missing separator.错误
错误原因是
all:a1 a2
(这里我用的空格) @echo this is al!
把空格改为TAB就好了
阅读(1358) | 评论(0) | 转发(0) |