Managing Projects with Make
Résumé
Table of contents
Preface
The Value of makeLessons from make
Variants
Scope of This Book
Getting Automated Tests FTP FTPMAIL BITFTP
UUCP
Conventions Used in This Handbook
Acknowledgments
We'd Like to Hear From You
Chapter 1: How to Write a Simple Makefile
The Description FileDependency Checking
Minimizing Rebuilds
Invoking make
Basic Rules of Syntax
Chapter 2: Macros
Syntax RulesInternally Defined Macros
Macro Definitions on the Command Line
Shell Variables
Priority of Macro Assignments
Relying on Environment Variables for Defaults
Macro String Substitution
Internal Macros for Prerequisites and Targets
Chapter 3: Suffix Rules
What is a Suffix Rule? Command Options Internal MacrosCommands 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
.SUFFIXES and Precedence
Writing Your Own Suffix Rules A Sample Collection of Suffix Rules Nullifying Rules Conflicts With Default Suffixes
Chapter 4: Commands
Filename Pattern MatchingEffects of Newlines on Commands
Errors and Exit Status
Which Shell?
Pathnames and Security
Chapter 5: Project Management
Dummy TargetsRecursive 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 FilenamesStatus 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 LineDescription File Lines
Macros Internal Macros Macro Modifiers Macro String Substitution Macros with Special Handling
Special Target Names
Appendix B: Popular Extensions
mk and nmakeGNU make
imake
makedepend
shape
Parallel and Distributed Implementations
Appendix C: Features That Differ Between Variants of make
BackgroundList 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
L'auteur - Andrew Oram
Andy Oram is an editor at O'Reilly Media, which is a highly respected book publisher and technology information provider. An employee of the company since 1992, Andy currently specializes in free software and open source technologies. His work for O'Reilly includes the first books ever published commercially in the United States on Linux, and the 2001 title Peer-to-Peer. His modest programming and system administration skills are mostly self-taught.
Andy is also a member of Computer Professionals for Social Responsibility and writes often for the O'Reilly Network and other publications. Topics include policy issues related to the Internet and trends affecting technical innovation and its effects on society. His web site is www.praxagora.com/andyo.
Andy works at the O'Reilly office in Cambridge, Massachusetts and lives nearby with his wife, two children, and a six-foot grand piano that can often be heard late at night.
L'auteur - Steve Talbott
Steve Talbott has worked for the past 12 years in technical documentation. Prior to joining O'Reilly & Associates he managed the Technical Publications Group at Concurrent Computer Corporation, and before that was responsible for the development of computer-based documentation tools at Concurrent.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | O'Reilly |
Auteur(s) | Andrew Oram, Steve Talbott |
Parution | 01/10/1991 |
Édition | 2eme édition |
Nb. de pages | 178 |
Format | 15,2 x 22,8 |
Couverture | Broché |
Poids | 250g |
Intérieur | Noir et Blanc |
EAN13 | 9780937175903 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse