Managing Projects with GNU Make

0
(0)

Managing Projects with GNU Make

作者:RobertMecklenburg

出版社:O'ReillyMedia

出版年:2004-11-26

页数:302

定价:USD39.99

装帧:Paperback

ISBN:9780596006105

内容简介
······

The utility simply known as "make" is one of the most enduring features of both Unix and other operating systems. First invented in the 1970s, "make" still turns up to this day as the central engine in most programming projects; it even builds the Linux kernel. In the third edition of the classic "Managing Projects with GNU make," readers will learn why this utility continues to hold its top position in project build software, despite many younger competitors.

The premise behind "make" is simple: after you change source files and want to rebuild your program or other output files, "make" checks timestamps to see what has changed and rebuilds just what you need, without wasting time rebuilding other files. But on top of this simple principle, "make" layers a rich collection of options that lets you manipulate multiple directories, build different versions of programs for different platforms, and customize your builds in other ways.

This edition focuses on the GNU version of "make," which has deservedly become the industry standard. GNU make contains powerful extensions that are explored in this book. It is also popular because it is free software and provides a version for almost every platform, including a version for Microsoft Windows as part of the free Cygwin project. "Managing Projects with GNU make," 3rd Edition provides guidelines on meeting the needs of large, modern projects. Also added are a number of interesting advanced topics such as portability, parallelism, and use with Java.

Robert Mecklenburg, author of the third edition, has used "make" for decades with a variety of platforms and languages. In this book he zealously lays forth how to get your builds to be as efficient as possible, reduce maintenance, avoid errors, and thoroughly understand what "make" is doing. Chapters on C++ and Java provide makefile entries optimized for projects in those languages. The author even includes a discussion of the makefile used to build the book.

作者简介
······

Robert Mecklenburg began using Unix as a student in 1977 and has been programming professionally for 23 years. His make experience started in 1982 at NASA with Unix version 7. Robert received his Ph.D. in Computer Science from the University of Utah in 1991. Since then he has worked in many fields ranging from mechanical CAD to bioinformatics, and brings his extensive experience in C++, Java and Lisp to bear on the problems of project management with make.

评论 ······

除Chapter 07 Protable Makefiles, Chapter 09 Java, Chapter 10 Improving the Prerformance of make其它章节都看过了,总体上掌握了4成。后续在使用过程中再锤炼。

我是真讨厌makefile,一堆杂七杂八莫名奇妙的rule,explicit完了来implicit, 我最不爽的就是automatic variables了。 我觉make和shell的语法真是太恶心太无语了, 读起来非常难理解。

事无巨细。不是我喜欢的tech book的风格。读起来有点费劲。确实应该直接去读陈皓的《跟我学些makefile》。

第三本英文原版书。
“记住,是工具就需要学习。多用才可以提高对工具的掌握程度。对于编写 Makefile 文件,不要抱着修改配置文件那样的心态,而要把它当成一门语言,一门可以提高你的工作效率的语言。通过计算机语言教会计算机做本该你亲手来做的操作,这是程序员之道。”– http://blog.codingnow.com/2008/10/replacement_of_ide_6.html

点击星号评分!

平均分 0 / 5. 投票数: 0

还没有投票!请为他投一票。

推荐阅读

评论 抢沙发

评论前必须登录!

 

登录

找回密码

注册