Understanding `Make' - index |
Title:
Introduction to ``make'' for Handling Software ProjectsAbstract:
As software projects grow, the task of re-compiling and linking the code together to produce an executable program becomes increasingly more difficult or lengthy. Investing a little time in understanding ``make'' and creating your own ``Makefile'' pays enormous dividends reducing the debugging cycle and self-documenting the tasks necessary to produce an executable. ``make'' is a simple and useful tool that compares the dependencies in the ``Makefile'', with respect to the source file time stamps, executing the given commands to create an up-to-date dependent. This discussion starts with very simple ``Makefiles'' to more involved and fiendishly clever ones, examining each aspect of ``make''.
Other resources:
- View the selection of slides
- Or the entire collection
- Look at the sources
- make-makefile mkmf by Balaji at GSFC at http://www.gfdl.gov/~vb/mkmf.html
- GNU autoconf - automatic configuration scripts
- GNU automake - generates Makefiles according to the GNU coding standards. (Requires GNU autoconf)
- NERSC tutorial on _Make
- ``Managing Projects with make, 2nd Ed.'', Andrew Oram & Steve Talbott, 1991, O'Reilly & Associates, Inc.
Last Modified: 1999/06/10 08:59:30
Brought to you by: R.K. Owen,Ph.D.
This page is http://owen.sj.ca.us/rkowen/howto/slides/make/index.html