Software Carpentry
Automated Builds

How Do You Rebuild A Program?

Automate, Automate, Automate

Our Example

Hello, Make

Multiple Targets

Phony Targets

Automatic Variables

Pattern Rules

Dependencies

Defining Macros

Analysis

Exercises

Exercise 14.1:

How can you stop Make from removing intermediate files automatically when it finishes processing?

Exercise 14.2:

Make gets definitions from environment variables, command-line parameters, and explicit definitions in Makefiles. What order does it check these in?