Makefile defines a series of rules to specify which files need to be compiled first, which files need to be compiled later, which files need to be re-compiled, and even more complex functional operations, because makefile is like a Shell script, it 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. 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. Make clean clears the object files (Files suffixed with ". o") and executable files generated by the previous make command. 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 ). 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.