GNU make 3.8 Software User Manual

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.


GNU make 3.8 Software User Manual - cover page
Brand
GNU
Document type
User Manual
Language
Chinese
Pages
167
File format
PDF
File size
1.3 MB
Published
21 September, 2011
Updated
30 September, 2023
MD5 checksum
B9D2D3705CA4F3064F525FA1C137FE76

About this manual

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.

What's inside

  • 概述
  • Makefile 总述
  • Makefile 的规则
  • 规则的命令
  • Makefile 中的变量
  • Makefile 的条件执行
  • make 的内嵌函数
  • 执行make
  • make 的隐含规则
  • 使用make 更新静态库文件

Frequently asked questions

What file does make look for when it runs?

Make expects a file named Makefile that describes the build rules for the project.

Download PDF (1.3 MB)

More GNU Manuals


View all GNU manuals →