In linux, make, clean, and their combined commands first look at what is makefilemakefile, which defines a series of rules to specify, which files need to be compiled first, and which files need to be compiled later, which files need to be re-compiled, or even perform more complex functional operations, because makefile is like a Shell script, which can also execute operating system commands. The benefit of makefile is "automatic compilation". Once written, only one make command is required, and the entire project is fully automatically compiled, which greatly improves the efficiency of software development. Make is a command tool that explains commands in makefile. Generally, most ides use this command, such as make in Delphi and nmake in Visual C ++, GNU make in Linux. It can be seen that makefile is a compilation method in Engineering. Make compiles source code, connects, generates target files, and executable files based on Makefile. Www.2cto.com make clean clears the object files generated by the last make command (Files suffixed with ". o") and executable files. Make install installs the compiled executable files to the system directory, which is generally the/usr/local/bin directory. Make dist generates the release package ). This command will pack executable files and related files into a tar.gz compressed file for software release. A file named "package-version.tar.gz" will be generated in the current directory. PACKAGE and VERSION are the AM_INIT_AUTOMAKE (PACKAGE, VERSION) defined in configure. in ). Www.2cto.com make distcheck generates and tests the release package to confirm the correctness of the release package. This operation will automatically unbind the compressed package file, execute the configure command, and execute make to confirm that there is no error in compilation, and finally prompt that your software package is ready and can be released. Make distclean is similar to make clean, but it also deletes all files generated by configure, including Makefile files. Author: richerg85