The basic command is make distclean
. This removes all files
created by the build.
Alternatively,
make mostlyclean
if you intend to compile on another
architecture. For Web2c, since the generated C files are portable,
they are not removed. If the lex
vs. flex
situation
is going to be different on the next machine, rm
web2c/lex.yy.c
.
make clean
to remove files created by compiling, but leave
configuration files and Makefiles.
make maintainer-clean
to remove everything that the Makefiles can
rebuild. This is more than `distclean' removes, and you should
only use it if you are thoroughly conversant with (and have the necessary
versions of) Autoconf.
make extraclean
to remove other junk, e.g., core files, log
files, patch rejects. This is independent of the other `clean'
targets.
Go to the first, previous, next, last section, table of contents.