3.3 The most useful Makefile targets

back: files generated by configure
forward: configuration names
 
fastback: configuration names
up: invoking configure
fastforward: introducing makefiles
top: autoconf, automake, and libtool
contents: table of contents
index: index
about: about this document

By now `configure' has generated the output files such as a `Makefile' . Most projects include a `Makefile' with a basic set of well-known targets (see section 4.1 Targets and dependencies). A target is a name of a task that you want make to perform -- usually it is to build all of the programs belonging to your package (commonly known as the all target). From your build directory, the following commands are likely to work for a configured package:

make all
Builds all derived files sufficient to declare the package built.
make check
Runs any self-tests that the package may have.
make install
Installs the package in a predetermined location.
make clean
Removes all derived files.

There are other less commonly used targets which are likely to be recognized, particularly if the package includes a `Makefile' which conforms to the GNU `Makefile' standard or is generated by automake . You may wish to inspect the generated `Makefile' to see what other targets have been included.


This document was generated by Gary V. Vaughan on May, 24 2001 using texi2html


GNU Autoconf, Automake and Libtool
GNU Autoconf, Automake, and Libtool
ISBN: 1578701902
EAN: 2147483647
Year: 2002
Pages: 290

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net