GNU make 3.8 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 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 document is a Chinese translation and guide for GNU make version 3.8. It serves as a comprehensive resource for Linux programmers, detailing the usage of the make tool and the creation of Makefiles for automating build processes. The manual covers fundamental concepts, syntax rules, and advanced features necessary for managing software projects. This manual is written in Chinese.

What's inside

  • Overview
  • Makefile Basics
  • Makefile Rules
  • Variables
  • Built-in Functions
  • Implicit Rules
  • Static Libraries
  • Common Errors

Frequently asked questions

What is GNU make used for?

GNU make is a command tool that interprets the rules in a Makefile to build and manage a project; with a correct Makefile, the whole project can be compiled with one command.

What does a Makefile describe?

A Makefile describes the compilation and linking rules for the whole project, including which source files need compiling and how.

What programming language are the manual's examples written in?

The examples use C language source programs.

What should a reader know before reading this manual?

The reader should understand the GNU toolchain and common Linux tools such as gcc, as, ar, ld, and yacc, and be able to understand some shell scripts when writing a Makefile.

Download PDF (1.3 MB)

More GNU Manuals


View all GNU manuals →