Chinaunix首页 | 论坛 | 博客
  • 博客访问: 126181
  • 博文数量: 46
  • 博客积分: 571
  • 博客等级: 准尉
  • 技术积分: 290
  • 用 户 组: 普通用户
  • 注册时间: 2012-04-26 23:57
文章分类

全部博文(46)

文章存档

2012年(46)

我的朋友

分类: LINUX

2012-05-01 10:37:18

摘自: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就好了

阅读(1334) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~