Thinking in C and *nix (CSC 282 2015S) : Outlines

Outline 10: Improved Make


Held: Thursday, 9 April 2015

Back to Outline 09 - Automating Work with Make. On to Outline 11 - Miscellaneous C Programming Issues.

Summary

We continue our exploration of Make by exploring various ways to generalize makefiles.

Related Pages

Overview

Administrivia

Review

Variables in Make

Standard Variables for C

These get used with the default rules for C.

Example: Document Development

Automatic Variables

Generic Rules

Default Rules

Other Useful Techniques

HTML = $(shell ls *.html)
PS = $(subst .html,.ps,$(HTML))

Miscellaneous tools and topics