AnyBook4Less.com
Find the Best Price on the Web
Order from a Major Online Bookstore
Developed by Fintix
Home  |  Store List  |  FAQ  |  Contact Us  |  
 
Ultimate Book Price Comparison Engine
Save Your Time And Money

GNU Make: A Program for Directed Compilation

Please fill out form in order to compare prices
Title: GNU Make: A Program for Directed Compilation
by Richard M. Stallman, Roland McGrath
ISBN: 1-882114-82-5
Publisher: Free Software Foundation
Pub. Date: 01 January, 2002
Format: Paperback
List Price(USD): $20.00
Your Country
Currency
Delivery
Include Used Books
Are you a club member of: Barnes and Noble
Books A Million Chapters.Indigo.ca

Average Customer Rating: 4.75 (4 reviews)

Customer Reviews

Rating: 5
Summary: Clear and Complete
Comment: I'll add to the positive remarks of other reviewers that this book will help you understand why features that work with one version of make do not work with another. The section "Features of GNU 'make'" contains information on which features came from which 'make' implementation; this gives the reader some historical context and information that not all 'make' programs are created equal. This information is especially valuable when working with a number of different 'make' utilities from different vendors (happily, GNU make runs on almost any platform most users are likely to encounter, and installing GNU make on a machine may be much easier than wrestling with the differences between 'make' implementations).

I refer to this book (or the info version from within emacs) regularly. I have found it extremely helpful while trying to figure out how another Makefile works, while trying to figure out how to accomplish a particular task with 'make', and just for general knowledge about the tool. I found the sections on suffix rules and pattern rules to be particularly informative.

One final note: by purchasing this book you are helping to support free software, as the book is published by GNU Press, the publishing department of the Free Software Foundation.

Rating: 5
Summary: One Book which lets all others fading
Comment: This is an excellent book for software developers who want to write Makefile seriously. I have read other make books, including "Managing Projects with make" and "Mastering Make". None of them present core of Makefile to readers. From newsgroup comp.unix.shell one can know that there are still a lot of people who are struggling for writting their own real Makefile. Richard and Roland are national outstanding experts in this area!

Rating: 4
Summary: Good reference
Comment: This book, which was made available on the Web for free, is here published in book form for those who prefer it that way. It is a great introduction to GNU Make for beginners who need to learn it, and a good reference for those more experienced.

After a brief overview of make in chapter 1, the authors move on to introduce makefiles in chapter 2 and 3. A general makefile consists of rules, with a target, dependencies, and commands. The authors do a great job of explaining makefiles and give a sample makefile explaining how an executable depends on object files, those depending themselves on C source files and header files. The use of 'make clean' is discussed also, along with the use of variables to simplify makefiles.

A more detailed discussion of rule writing is given in chapter 4, with the rule syntax outlined, and how to use wildcard characters in file names. The 'vpath' directive is discussed also. The authors show how to construct rules with multiple targets, and how to use dependencies that are not necessarily identical using static pattern rules. The chapter ends with a discussion of how to generate dependencies automatically.

The use of command echoing is explained in the next chapter on writing commands in rules, with the recursive use of 'make' as itself a command in a makefile. This is followed in chapter 6 by more details on the use of variables in makefiles. Readers knowing the shell very well will find this easy reading, but beginners will have to pay attention to the subtle uses of variable references and the difference between recursively expanded and simply expanded variables. The authors include an advanced section on variable reference for the more experienced reader. A detailed discussion on using conditional statements in makefiles is given.

The use of functions to do text processing is the subject of chapter 8 with the general syntax for function calls given. This is followed in chapter 9 by a discussion on how to actually execute a makefile.

The use of implicit rules to perform compilation in the usual way is discussed in chapter 10. This is my preference on how to use make and it is given a nice treatment here, with discussions on how to use implicit rules and introduces pattern rules.

Make can also update archive files, and this is discussed in chapter 11. The last chapters of the book give a list of features of GNU make as compared with other versions of make, and a list of incompatibilities of make with other versions. The conventions that must be respected in writing GNU make programs are discussed also.

Similar Books:

Title: Debugging with GDB: The GNU Source-Level Debugger
by Richard Stallman, Roland Pesch, Stan Shebs, Richard M. Stallman
ISBN: 1882114884
Publisher: Free Software Foundation
Pub. Date: 01 January, 2002
List Price(USD): $30.00
Title: Managing Projects With make
by Andrew Oram, Steve Talbott
ISBN: 0937175900
Publisher: O'Reilly & Associates
Pub. Date: 02 October, 1991
List Price(USD): $19.95
Title: GCC: The Complete Reference
by Arthur Griffith
ISBN: 0072224053
Publisher: McGraw-Hill Osborne Media
Pub. Date: 12 September, 2002
List Price(USD): $59.99
Title: GNU Autoconf, Automake, and Libtool
by Gary V. Vaughan, Ben Elliston, Tom Tromey, Ian Lance Taylor
ISBN: 1578701902
Publisher: SAMS
Pub. Date: October, 2000
List Price(USD): $40.00
Title: Using GCC: The GNU Compiler Collection Reference Manual for GCC 3.3.1
by Richard M. Stallman, Gcc Developer Community
ISBN: 1882114396
Publisher: Free Software Foundation
Pub. Date: October, 2003
List Price(USD): $45.00

Thank you for visiting www.AnyBook4Less.com and enjoy your savings!

Copyright� 2001-2021 Send your comments

Powered by Apache