This file documents the GNU Make utility, which determines automatically which pieces of a large program need to be recompiled, and issues the commands to recompile them.

This is Edition 0.61, last updated 25 Dec 2005, of The GNU Make Manual, for make, Version 3.80+dbg.

Copyright 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled “GNU Free Documentation License”.

Next: , Previous: (dir), Up: (dir)


Make

The GNU make utility automatically determines which pieces of a large program need to be recompiled, and issues the commands to recompile them.

This edition of the GNU Make Manual, last updated 25 Dec 2005, documents GNU make Version 3.80+dbg.

This manual describes make and contains the following chapters:

--- The Detailed Node Listing ---

Overview of make

An Introduction to Makefiles

Writing Makefiles

Writing Rules

Using Wildcard Characters in File Names

Searching Directories for Prerequisites

Static Pattern Rules

Writing the Commands in Rules

Recursive Use of make

How to Use Variables

Advanced Features for Reference to Variables

Conditional Parts of Makefiles

Functions for Transforming Text

How to Run make

Using Implicit Rules

Defining and Redefining Pattern Rules

Using make to Update Archive Files

Implicit Rule for Archive Member Targets