Next: Standard Directory Variables, Previous: Basic Installation, Up: Use Cases [Contents][Index]
So far we have come across four ways to run make in the GNU
Build System: make, make check, make install, and
make installcheck.  The words check, install, and
installcheck, passed as arguments to make, are called
targets.  make is a shorthand for make all,
all being the default target in the GNU Build System.
Here is a list of the most useful targets that the GNU Coding Standards specify.
make allBuild programs, libraries, documentation, etc. (same as make).
make installInstall what needs to be installed, copying the files from the package’s tree to system-wide directories.
make install-stripSame as make install, then strip debugging symbols.  Some
users like to trade space for useful bug reports...
make uninstallThe opposite of make install: erase the installed files.
(This needs to be run from the same build tree that was installed.)
make cleanErase from the build tree the files built by make all.
make distcleanAdditionally erase anything ./configure created.
make checkRun the test suite, if any.
make installcheckCheck the installed programs or libraries, if supported.
make distRecreate package-version.tar.gz from all the source files.