An Introductory Tutorial on make

Randall J. Fisher rfisher@ecn.purdue.edu

Disclaimer

Forward

This is an introduction and short tutorial on the use of make. It is intended to provide the student with enough understanding of make to write their own description files (makefiles) well enough to satisfy the needs of the compiler and operating systems courses, and to facilitate the automation of the grading process for course projects.

Table of Contents

  1. Introduction to make
  2. Dependencies and the structure of makefiles
  3. Dummy targets
  4. Commands in a makefile rule
  5. The use of variables in makefiles
  6. Multi-level makefiles
  7. Things you should know how to do

Bibliography

A good book on make is Andrew Oram and Steve Talbott's Managing Projects with make. It is published by O'Reilly & Associates, Inc., 103 Morris Street, Suite A, Sebastopol, CA 95472. Copyright 1986, 1991.

This page was last modified .