GNU make学习——用的不多,但不懂的话会很麻烦。

最近先要把gnu的东西看看,不然以后跨平台开发会很麻烦。经过很长一段时间的左思右想 ,最后还是决定以后的开发编译器要紧紧依靠gnu了,这也是现在能想到的比较划算的选择。平时的基础联系还是用borland compiler来完成,c++ builderX也可以使用GNU的。

写个开始。先声名,我这里不是翻译,是为了以后自己方便写的理解后的内容,我不会放到文档里,但是要是有人看了,还请不要来打击我的积极性。一些我拿不准的句子,或句子含义深刻的,为了我自己的方便,我也会写原句。我会先学习mingw里所提供的工具的。


GNU “make”程序——中国人的文法习惯就是好,不想英语。。。。。。。

网址在这里: http://www.gnu.org/software/make/manual/make.html
——很高兴great firewall没有让GNU不可访问——说实话,总是觉得CCP的某些保守官员严重阻碍了国家的发展和进步。。。哎,已经懒得和他们生气了。

GNU的标志

/*。。。。。。打开那网页,看到那长长的篇幅。。。我才知道为什么外国人不说废话(其实早就知道了)——要是他们能有中国的官员们的臭屁本领的一半,西方国家就不会再有任何能提供纤维素的植物存活——英语真是太废纸张了,太占地方了。。。。。。每每看到英文,都有一重强烈的想统一世界的冲动。。。。。。。*/

/*真的很想打退堂鼓了,太长了,我要看到猴年马月。。。。。。间常用的看吧,反正不常用的看了意义也//不大,能看多少看多少把,也只能如此了,真是太长了。。。。。*/

版本信息:This edition of the GNU Make Manual, last updated 08 July 2002, documents GNU make Version 3.80.

GNU make工具会自动判断大程序的各个部分那些需要重编译,并发出命令重编译他们。 The GNU make utility automatically determines which pieces of a large program need to be recompiled, and issues the commands to recompile them.

目录:

1. Overview of make  
2. An Introduction to Makefiles  An introduction to make.
3. Writing Makefiles  Makefiles tell make what to do.
4. Writing Rules  Rules describe when a file must be remade.
5. Writing the Commands in Rules  Commands say how to remake a file.
6. How to Use Variables  You can use variables to avoid repetition.
7. Conditional Parts of Makefiles  Use or ignore parts of the makefile based on the values of variables.
8. Functions for Transforming Text  Many powerful ways to manipulate text.
9. How to Run make  How to invoke make on the command line.
10. Using Implicit Rules  Use implicit rules to treat many files alike, based on their file names.
11. Using make to Update Archive Files  How make can update library archives.
12. Features of GNU make  Features GNU make has over other makes.
13. Incompatibilities and Missing Features  What GNU make lacks from other makes.
14. Makefile Conventions  Conventions for writing makefiles for GNU programs.
A. Quick Reference  A quick reference for experienced users.
B. Errors Generated by Make  A list of common errors generated by make.
C. Complex Makefile Example  A real example of a straightforward, but nontrivial, makefile.


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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值