- Used Books
- Staff Picks
- Gifts & Gift Cards
- Sell Books
- Stores & Events
- Let's Talk Books
Special Offers see all
More at Powell's
Recently Viewed clear list
Used Trade Paper
Ships in 1 to 3 days
More copies of this ISBN
Other titles in the Nutshell Handbooks series:
Managing Projects With Make 2ND Editionby Andrew Oram
Synopses & Reviews
make is one of UNIX's greatest contributions to software development, and this book is the clearest description of make ever written. Even the smallest software project typically involves a number of files that depend upon each other in various ways. If you modify one or more source files, you must relink the program after recompiling some, but not necessarily all, of the sources.
make greatly simplifies this process. By recording the relationships between sets of files, make can automatically perform all the necessary updating.
For large projects with teams of programmers and multiple releases, make becomes even more critical. But in order to avoid spending a major portion of your maintenance budget on maintaining the Makefiles, you need a system for handling directories, dependencies, and macro definitions. This book describes all the basic features of make and provides guidelines on meeting the needs of large, modern projects.
Some of the issues addressed in the second edition include:
The revised second edition of this text on Make, one of UNIX's contributions to software development, includes guidelines on meeting the needs of large projects.
This book describes all the basic features of make and provides guidelines on meeting the needs of large, modern projects. Make is one of UNIX's greatest contributions to software development, and this book offers the clearest description of make ever written.
"make is one of UNIX's greatest contributions to software development, and this book offers the clearest description of "make ever written. Even the smallest software project typically involves a number of files that depend upon each other in various ways. If you modify one or more source files, you must relink the program after recompiling some, but not necessarily all, of the sources. "make greatly simplifies this process. By recording the relationships between sets of files, "make can automatically perform all the necessary updating. This book describes all the basic features of "make and provides guidelines on meeting the needs of large, modern projects.
2nd ed., rev. and expanded, with minor corrections.
About the Author
Andy Oram is an editor at O'Reilly & Associates, specializing in books on Linux and programming. Most recently, he edited Peer-to-Peer: Harnessing the Power of Disruptive Technologies.
Stephen L. Talbott went from Presidential Scholar to farmer, and from editing an interdisciplinary, scholarly journal about the catastrophist theories of Immanual Velikovsky, to fourteen years working in the computer industry. Mr. Talbott recently moved with his family from the Boston technology belt to rural New York, where his efforts to reach an accommodation with his computer continue.
Table of Contents
Table of Contents Preface The Value of make Lessons from make Variants Scope of This Book Getting Automated Tests Acknowledgments Chapter 1. How to Write a Simple Makefile The Description File Dependency Checking Minimizing Rebuilds Invoking make Basic Rules of Syntax Chapter 2. Macros Syntax Rules Internally Defined Macros Macro Definitions on the Command Line Shell Variables Priority of Macro Assignments Macro String Substitution Internal Macros for Prerequisites and Targets Chapter 3. Suffix Rules What is a Suffix Rule? Command Options Internal Macros Commands Supported by Default Suffix Rules Fortran and Pascal SCCS and RCS Libraries (Archives) Using Parentheses for Library Modules A Library Example Maintaining Libraries The Double Colon lex and yacc The Null Suffix How to Display Defaults Generating the Display What the Display Means Writing Your Own Suffix Rules A Sample Collection of Suffix Rules Nullifying Rules Conflicts With Default Suffixes Chapter 4. Commands Filename Pattern Matching Effects of Newlines on Commands Errors and Exit Status Which Shell? Pathnames and Security Chapter 5. Project Management Dummy Targets Recursive make on Directories General Tips on Recursive make Other Techniques for Multiple Directories Directories in Internal Macros Viewpath (VPATH Macro) Compiler Options and #ifdef directives Forcing Remakes Maintaining Multiple Variants Through Explicit Targets Maintaining Multiple Variants in Different Directories Maintaining Variants Through Suffix Rules Header Files Global Definitions (include Statement) Distributed Files and NFS Issues Chapter 6. Command-line Usage and Special Targets Description Filenames Status Information and Debugging Errors and File Deletion The MAKEFLAGS Macro Miscellaneous Features Affecting Defaults Chapter 7. Troubleshooting Debugging a Build (-d option) Syntax Errors Don't Know How to Make Target Up to Date Command Not Found, or Cannot Load Syntax Errors in Multi-line Commands Inconsistent Lines, or Too Many Lines Unrecognized Macros Default Rules Ignored Appendix A. Quick Reference Command Line Description File Lines Macros Internal Macros Macro Modifiers Macro String Substitution Macros with Special Handling Special Target Names Appendix B. Popular Extensions mk and nmake GNU make imake makedepend shape Parallel and Distributed Implementations Appendix C. Features That Differ Between Variants of make Background List of Differences Tests You Can Run Macro String Substitution File and Directory Macros Parenthesis Syntax for Libraries Single-suffix Rules and .sh Rules Default Shell MAKE and MAKEFLAGS Macros include Statement VPATH Index
What Our Readers Are Saying
Other books you might like