Next: Standard Directory Variables, Previous: Basic Installation, Up: Use Cases
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 all
make
).
make install
make install-strip
make install
, then strip debugging symbols. Some
users like to trade space for useful bug reports...
make uninstall
make install
: erase the installed files.
(This needs to be run from the same build tree that was installed.)
make clean
make all
.
make distclean
./configure
created.
make check
make installcheck
make dist