GNU Make 3.8 User Manual


GNU Make 3.8 User Manual - cover page
Brand
Linux
Category
Programming
Document type
User Manual
Language
Chinese
Pages
199
File format
PDF
Published
16 December, 2011
Updated
29 September, 2023
MD5 checksum
A97921EDE244507F36EC247873ECFF0B

About this manual

This document, written by 徐海兵 and dated 2004-09-11, is a translated and reorganized version of the "info make" material covering GNU make 3.8. The author states that he spent more than 18 months on the work, added notes from his own experience, and that all examples in the book can run on systems that support GNU make version 3.8; the examples use C source code, and the make described is the one integrated in Red Hat FC3. This manual is written in Chinese.

What's inside

  • 概述
  • GNU make 介绍
  • Makefile 总述
  • Makefile 的规则
  • 规则的命令
  • Makefile 中的变量
  • Makefile 的条件执行
  • make 的内置函数
  • 执行 make
  • make 的隐含规则

Frequently asked questions

What is GNU make?

The document describes make as a command tool that interprets the instructions, or rules, written in a Makefile.

What does a Makefile describe?

It describes the compilation and linking rules of the whole project, including which source files to compile and how, which libraries to create, and how to produce the executable.

How is the whole project built once a correct Makefile exists?

The only thing to do is type the make command at the shell prompt, and the whole project is compiled automatically.

What should a reader know before reading this document?

Some familiarity with the GNU toolchain and common Linux programming tools such as gcc, as, ar, ld and yacc, plus the ability to do basic shell programming when writing Makefiles.

Download PDF

More Linux Manuals


View all Linux manuals →