由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Unix版 - [转载] makefile rules
相关主题
How to Run this Makefile with condition controlRe: SOS!!! (about FLTK)
makefile help英雄,救命啊!!!
cxterm compileHelp: failed to compile cxterm with cc
my script Re: how would you do this?[转载] makefile question. urgent!!!!!!!!!!!!!!!!!!!!!!!!
Questions about MakefileRe: [转载] makefile question. urgent!!!!!!!!!!!!!!!!!!!!!!!!
怎样写 makefileMakefile help!
help on cxtermwrite makefile
what is wrong with makefile?Re: Makefile help!( -g option)
相关话题的讨论汇总
话题: targets话题: makefile话题: rules话题: exihe话题: cc
进入Unix版参与讨论
1 (共1页)
e***e
发帖数: 38
1
【 以下文字转载自 Linux 讨论区 】
【 原文由 exihe 所发表 】
I know .o.c depenndence can be written in %.c:%.o pattern
Is it possible to write a rule for filename:filename.o dependence?
something like:
TARGETS =run1 run2
$(TARGETS):%@.o <-----unfortunately it does not recognize %@.o here
$(CC) $< -o $@
Thanks
1 (共1页)
进入Unix版参与讨论
相关主题
Re: Makefile help!( -g option)Questions about Makefile
[转载] emacs下编译程序,怎么指定路径?怎样写 makefile
[转载] 请教三个关于emacs和perl的问题help on cxterm
What's wrong with "CXTERM"CXTERM INSTALL : HELP !what is wrong with makefile?
How to Run this Makefile with condition controlRe: SOS!!! (about FLTK)
makefile help英雄,救命啊!!!
cxterm compileHelp: failed to compile cxterm with cc
my script Re: how would you do this?[转载] makefile question. urgent!!!!!!!!!!!!!!!!!!!!!!!!
相关话题的讨论汇总
话题: targets话题: makefile话题: rules话题: exihe话题: cc