Sell Back Your Copy
For a $1.00 Gift Card
Trade in
Have one to sell? Sell yours here
GNU Make: A Program for Directed Compilation
 
 
Tell the Publisher!
I'd like to read this book on Kindle

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

GNU Make: A Program for Directed Compilation [Paperback]

Richard M. Stallman (Author), Roland McGrath (Author)
4.5 out of 5 stars  See all reviews (6 customer reviews)


Available from these sellers.


Formats

Amazon Price New from Used from
Paperback --  
Paperback, January 1, 2002 --  
Unknown Binding --  

Book Description

January 1, 2002
For GNU Make Version 3.79.1

The Make program is indispensable to maintainers of free software systems. The GNU Make manual, written by the program's original authors, is the definitive tutorial. It also includes an introductory chapter for novice users. The Make utility automates the process of compilation; it is especially useful when the source files of large programs change. It is a small program with a lot of power.

This book will show you: * How to write your own makefiles
* Make's rule syntax and how to write your own rules
* How the Make utility can be configured to automatically put binary and source files in the right places.
* How to use make to create archive files automatically
* Define, set and use Make's variables
* How Make uses targets so that you can broaden or narrow Make's recompilation efforts on demand.
* And much more!

This manual provides a complete explanation of Make, both the basics and extended features. There is also a convenient Quick Reference appendix for experts.


Customers Who Bought This Item Also Bought


Editorial Reviews

About the Author

Richard M. Stallman is the founder of the Free Software movement. He has also written the "Emacs Reference Manual" and Using and Porting GNU CC. Roland McGrath is the original author of the GNU Make Program.

Product Details

  • Paperback: 196 pages
  • Publisher: Free Software Foundation (January 1, 2002)
  • Language: English
  • ISBN-10: 1882114825
  • ISBN-13: 978-1882114825
  • Product Dimensions: 8.5 x 6.8 x 0.6 inches
  • Shipping Weight: 11.2 ounces
  • Average Customer Review: 4.5 out of 5 stars  See all reviews (6 customer reviews)
  • Amazon Best Sellers Rank: #968,939 in Books (See Top 100 in Books)

 

Customer Reviews

6 Reviews
5 star:
 (4)
4 star:
 (1)
3 star:
 (1)
2 star:    (0)
1 star:    (0)
 
 
 
 
 
Average Customer Review
4.5 out of 5 stars (6 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

12 of 13 people found the following review helpful:
5.0 out of 5 stars Clear and Complete, February 9, 2003
By A Customer
This review is from: GNU Make: A Program for Directed Compilation (Paperback)
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.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


12 of 13 people found the following review helpful:
4.0 out of 5 stars Good reference, July 21, 2001
This review is from: GNU Make, Version 3.77 (Paperback)
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.

Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


8 of 8 people found the following review helpful:
5.0 out of 5 stars One Book which lets all others fading, August 28, 2001
By 
Hong Hsu (Bradford, MA United States) - See all my reviews
This review is from: GNU Make, Version 3.77 (Paperback)
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!
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No

Share your thoughts with other customers: Create your own review
 
 
 
Most Recent Customer Reviews




Only search this product's reviews



Inside This Book (learn more)
First Sentence:
"The make utility automatically determines which pieces of a large program need to be recompiled, and issues commands to recompile them." Read the first page
Key Phrases - Capitalized Phrases (CAPs): (learn more)
Summary of Options, Instead of Executing the Commands, Old-Fashioned Suffix Rules, Including Other Makefiles, Setting Variables, Defining Variables Verbatim, Overriding Variables, Basics of Variable References, Communicating Variables, Conditional Parts of Makefiles, Specify the Goals, Appending More Text, Command Echoing, Communicating Options, Writing the Commands, Empty Target Files, Writing Rules
New!
Concordance | Text Stats
Browse Sample Pages:
Front Cover | Table of Contents | First Pages | Index | Back Cover | Surprise Me!
Search Inside This Book:

What Other Items Do Customers Buy After Viewing This Item?


Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
 

Your tags: Add your first tag
 

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
 


Active discussions in related forums
Search Customer Discussions
Search all Amazon discussions
   
Related forums



So You'd Like to...


Create a guide


Look for Similar Items by Category


Look for Similar Items by Subject

Search Books by subject:







i.e., each book must be in subject 1 AND subject 2 AND ...