Thinking in C and *nix (CSC 295/282 2014S) : Outlines

Outline 09: Automating Work with Make


Held: Thursday, 3 April 2014

Back to Outline 08 - Vi, Continued. On to Outline 10 - Improved Make.

Summary

We consider some details of make, a useful tool for automating the steps used to build programs on *nix systems.

Related Pages

Overview

Administrivia

An introduction to Make

*target*: *required-file-1* *required-file-2* ...
        *instruction-1*
        *instruction-2*
        ...

Example: C Programming

Good Make Practice: Standard Targets

C Example

Simplifying Makefiles with Variables

C Example

Copyright (c) 2013-14 Samuel A. Rebelsky.

Creative Commons License

This work is licensed under a Creative Commons Attribution 3.0 Unported License. To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/ or send a letter to Creative Commons, 543 Howard Street, 5th Floor, San Francisco, California, 94105, USA.