GNU make manual 翻译(一)

当分析PostgreSQL 的源代码的时候,经常遇到 Makefile,

读不懂其中的语句,很是令人烦恼。最近准备静下心来,好好地阅读。

为了达到这一目的,进行一次翻译。

1 Overview of `make'    
********************    
    
The `make' utility automatically determines which pieces of a large    
program need to be recompiled, and issues commands to recompile them.    
This manual describes GNU `make', which was implemented by Richard    
Stallman and Roland McGrath.  Development since Version 3.76 has been    
handled by Paul D. Smith.    
    
   GNU `make' conforms to section 6.2 of `IEEE Standard 1003.2-1992'    
(POSIX.2).      
    
   Our examples show C programs, since they are most common, but you    
can use `make' with any programming language whose compiler can be run    
with a shell command.  Indeed, `make' is not limited to programs.  You    
can use it to describe any task where some files must be updated    
automatically from others whenever the others change.    

make 概览

make 工具自动地判定一个大型项目的那些片断需要被重新编译,并且执行相应的命令来完成重新编译动作。

这本手册描述 GNU 的make,它是由 Richard Stallman 和 Roland McGrath 实现的。

从版本 3.76开始,由 Paul D. Smith 负责维护。

GNU make 符合 IEEE 1003.2-1992 的 6.2节。

我们的例子使用了C 程序,因为这是最为普遍的状况。但是你也可以把 make 应用到 任何一种编程语言上,只要这种语言的编译器可以被运行在shell 脚本里。

实际上,make 的使用并不仅仅限于程序,你也可以用它来描述任何一种任务,只要这种任务里面,某些文件的改变,需要引起其他文件的自动改变。

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值