Introduction To Unix Make

2/20/1998


Click here to start


Table of Contents

Introduction To Unix Make

What Is The Make Utility?

The Essence of Make

An Example Of Dependencies And The Make Concept

Specifying Dependencies

The Simplest (Non-Empty) Make File

The Make Command

Executing Make With A Make File

No Make File In The Current Directory -- Default Rules

When The Make Command Fails

Failure Of Target Commands

More Advanced Make Files

Macros

$@ Dynamic Macro

Implicit Rules

How An Implicit Rule Is Invoked

$< Dynamic Macro

$? Dynamic Macro

$* Dynamic Macro

A User-Defined Macro

An Example

Silent Make Options

A Help Document For Your Make file

Other Make Options

A Complete Make File

Complete Example Continued

Example Make File Continued

Author: Smith

Email: acpineda@arc.unm.edu

Home Page: http://www.arc.unm.edu/~acpineda/CS471.html