Linux make Clean

Source: Internet
Author: User

Make clean simply clears the previously compiled executable and configuration files.
And make Distclean to clear all the generated files.

Makefile

In makefile, which complies with the GNU Makefiel Convention, contains some basic pre-defined actions:

Make

According to makefile compile source code, connect, generate target file, executable file.

Make clean

Clears the object file (the file with the suffix ". O") and the executable file that resulted from the last make command.

Make install

Installs the successfully compiled executable file into the system directory, typically the/usr/local/bin directory.

Make Dist

Generates a release package file (that is, distribution packages). This command will package the executable and related files into a tar.gz compressed file to be used as the software package for the release.

It generates a file with a name similar to "package-version.tar.gz" in the current directory. Package and version are the Am_init_automake (package, version) that we defined in configure.in.

Make Distcheck

Build and test the release package to determine the correctness of the release package. This will automatically unpack the package file, execute the Configure command, and execute make to confirm that the compilation does not appear to be wrong, and that the package is ready to be released.

Make Distclean is similar to do clean, but it also removes all configure generated files, including makefile.

Turn http://www.cnblogs.com/hnrainll/

Linux make Clean

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.