This document mainly introduces the basic usage methods of the GNU make tool, including the working principle of make, the composition and use of Makefile files, the definition and use of Makefile rules, the execution of commands and the use of variables.
This manual introduces GNU make 3.8, explaining the purpose of a Makefile, how make parses rules, variables, and the overall build process. It shows how to write and organize Makefiles, use built‑in functions, and control compilation with command‑line options.
The document also details debugging techniques, how to report bugs to the GNU project, and provides reference tables for automatic variables, functions, and common error messages. It is aimed at Linux programmers who need to automate builds and manage complex projects. This manual is written in Chinese.
Make expects a file named Makefile that describes the build rules for the project.