Redian新闻
>
[转载] My makefile can not work, why?
avatar
[转载] My makefile can not work, why?# Unix - 噫吁兮,危乎高哉
o*e
1
【 以下文字转载自 Programming 讨论区,原文如下 】
发信人: oldbare (bearhill), 信区: Programming
标 题: My makefile can not work, why?
发信站: The unknown SPACE (Sun Apr 7 15:15:57 2002) WWW-POST
Here is my make file:
# makefile for phase 1
CC = gcc
CFLAGS = -g
OBJS = TestLexan.o lexan.o
TestLexan.o : TestLexan.c gloabls.h
$(CC) $(CFLAGS) -c TestLexan.c
lexan.o : lexan.c lexan.h gloabls.h
$(CC) $(CFLAGS) -c lexan.c
TestL.exe: $(OBJS)
$(CC) $(CFLAGS) -eTestL $(OBJS)
After running it, there is the message:
bash: ./makefile
avatar
s*e
2
Run "make"
Do not run "./makefile"

【在 o*****e 的大作中提到】
: 【 以下文字转载自 Programming 讨论区,原文如下 】
: 发信人: oldbare (bearhill), 信区: Programming
: 标 题: My makefile can not work, why?
: 发信站: The unknown SPACE (Sun Apr 7 15:15:57 2002) WWW-POST
: Here is my make file:
: # makefile for phase 1
: CC = gcc
: CFLAGS = -g
: OBJS = TestLexan.o lexan.o
: TestLexan.o : TestLexan.c gloabls.h

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。