由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - [转载] My makefile can not work, why?
相关主题
Re: Makefile help!( -g option)怎样写 makefile
Re: [转载] makefile question. urgent!!!!!!!!!!!!!!!!!!!!!!!!help on cxterm
cxterm compilewhat is wrong with makefile?
help needed for xfig installationRe: SOS!!! (about FLTK)
问题:gentoo的gcc编译的CFLAGS英雄,救命啊!!!
[转载] questions on make commandHelp: failed to compile cxterm with cc
How to dyamically load an OBJ or Library?[转载] makefile question. urgent!!!!!!!!!!!!!!!!!!!!!!!!
Questions about MakefileMakefile help!
相关话题的讨论汇总
话题: makefile话题: cc话题: cflags话题: objs话题: my
进入Unix版参与讨论
1 (共1页)
o*****e
发帖数: 23
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
s********e
发帖数: 62
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

1 (共1页)
进入Unix版参与讨论
相关主题
Makefile help!问题:gentoo的gcc编译的CFLAGS
write makefile[转载] questions on make command
[转载] emacs下编译程序,怎么指定路径?How to dyamically load an OBJ or Library?
[转载] 请教三个关于emacs和perl的问题Questions about Makefile
Re: Makefile help!( -g option)怎样写 makefile
Re: [转载] makefile question. urgent!!!!!!!!!!!!!!!!!!!!!!!!help on cxterm
cxterm compilewhat is wrong with makefile?
help needed for xfig installationRe: SOS!!! (about FLTK)
相关话题的讨论汇总
话题: makefile话题: cc话题: cflags话题: objs话题: my