make - GNU `make Short Contents GNU make 1 Overview of make...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
GNU `make' Short Contents GNU make 1 Overview of make 2 An Introduction to Makefiles 3 Writing Makefiles 4 Writing Rules 5 Writing Recipes in Rules 6 How to Use Variables 7 Conditional Parts of Makefiles 8 Functions for Transforming Text 9 How to Run make 10 Using Implicit Rules 11 Using make to Update Archive Files 12 Features of GNU make 13 Incompatibilities and Missing Features 14 Makefile Conventions Appendix A Quick Reference Appendix B Errors Generated by Make Appendix C Complex Makefile Example Index of Concepts Index of Functions, Variables, & Directives Table of Contents GNU make 1 Overview of make 1.1 How to Read This Manual 1.2 Problems and Bugs 2 An Introduction to Makefiles 2.1 What a Rule Looks Like 2.2 A Simple Makefile 2.3 How make Processes a Makefile 2.4 Variables Make Makefiles Simpler 2.5 Letting make Deduce the Recipes 2.6 Another Style of Makefile 2.7 Rules for Cleaning the Directory 3 Writing Makefiles 3.1 What Makefiles Contain 3.2 What Name to Give Your Makefile 3.3 Including Other Makefiles 3.4 The Variable MAKEFILES 3.5 How Makefiles Are Remade 3.6 Overriding Part of Another Makefile 3.7 How make Reads a Makefile
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
3.8 Secondary Expansion 4 Writing Rules 4.1 Rule Example 4.2 Rule Syntax 4.3 Types of Prerequisites 4.4 Using Wildcard Characters in File Names 4.4.1 Wildcard Examples 4.4.2 Pitfalls of Using Wildcards 4.4.3 The Function wildcard 4.5 Searching Directories for Prerequisites 4.5.1 VPATH : Search Path for All Prerequisites 4.5.2 The vpath Directive 4.5.3 How Directory Searches are Performed 4.5.4 Writing Recipes with Directory Search 4.5.5 Directory Search and Implicit Rules 4.5.6 Directory Search for Link Libraries 4.6 Phony Targets 4.7 Rules without Recipes or Prerequisites 4.8 Empty Target Files to Record Events 4.9 Special Built-in Target Names 4.10 Multiple Targets in a Rule 4.11 Multiple Rules for One Target 4.12 Static Pattern Rules 4.12.1 Syntax of Static Pattern Rules 4.12.2 Static Pattern Rules versus Implicit Rules 4.13 Double-Colon Rules 4.14 Generating Prerequisites Automatically 5 Writing Recipes in Rules 5.1 Recipe Syntax 5.1.1 Splitting Recipe Lines 5.1.2 Using Variables in Recipes 5.2 Recipe Echoing 5.3 Recipe Execution 5.3.1 Using One Shell 5.3.2 Choosing the Shell 5.4 Parallel Execution 5.5 Errors in Recipes 5.6 Interrupting or Killing make 5.7 Recursive Use of make 5.7.1 How the MAKE Variable Works 5.7.2 Communicating Variables to a Sub- make 5.7.3 Communicating Options to a Sub- make 5.7.4 The ‘ --print-directory ’ Option 5.8 Defining Canned Recipes 5.9 Using Empty Recipes 6 How to Use Variables 6.1 Basics of Variable References 6.2 The Two Flavors of Variables 6.3 Advanced Features for Reference to Variables 6.3.1 Substitution References 6.3.2 Computed Variable Names
Image of page 2
6.4 How Variables Get Their Values
Image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern