24小时热门版块排行榜    

查看: 334  |  回复: 2

cean

金虫 (职业作家)


[交流] 【求助】makefile里的.f,v.f:是什么意思?

一个f77的程序,makefile有这么两行:

.f,v.f:
        $(CO) $*.f

是什么意思呀?

CO也没看见文件里再哪定义了。
回复此楼

» 猜你喜欢

» 抢金币啦!回帖就可以得到:

查看全部散金贴

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
cean(金币+1): 2010-11-29 09:39:34
有一些东西是 make 默认定义的,具体找一下它的 man page 或 info page 看一下好了……

另外,相关的规则也可以看 the gnu make manual....
2楼2010-11-28 22:42:18
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

cean

金虫 (职业作家)


nono2009:建议通使用“引用回复该帖”,不然别人收不到你的回复提示。 2010-11-30 07:59:59
在这http://www.gnu.org/software/make/manual/make.html看到:

RCS
    Any file n is extracted if necessary from an RCS file named either n,v or RCS/n,v. The precise recipe used is ‘$(CO) $(COFLAGS)’. n will not be extracted from RCS if it already exists, even if the RCS file is newer. The rules for RCS are terminal (see Match-Anything Pattern Rules), so RCS files cannot be generated from another source; they must actually exist.

我这里没有rcs文件。可能要删掉这2句吧。

[ Last edited by cean on 2010-11-29 at 09:38 ]
3楼2010-11-29 09:16:05
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 cean 的主题更新
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见