V2EX  ›  英汉词典
Enqueued related words: Cmake

Makefile

释义 Definition

Makefile:在软件开发中,用于告诉构建工具(最常见是 make)如何编译、链接和生成目标文件的“构建脚本/规则文件”。它通常包含目标(targets)依赖(dependencies)命令(recipes)。在不同语境下也可泛指“项目的构建配置文件”。

发音 Pronunciation (IPA)

/ˈmeɪk.faɪl/

例句 Examples

I edited the Makefile to add a new build target.
我编辑了 Makefile 来添加一个新的构建目标。

If the Makefile lists the wrong dependencies, the program may not rebuild correctly after changes.
如果 Makefile 写错了依赖关系,代码改动后程序可能无法正确地重新构建。

词源 Etymology

Makefile 是由 make + file 组合而成的复合词:make 表示“制作/构建”,file 表示“文件”。它源于 Unix 传统中的 make 构建工具(常与 1970 年代的 Unix 开发文化相关),用于用“规则”自动化重复的编译与构建工作。

相关词 Related Words

文学/著作中的用例 Literary Works

  • GNU Make Manual(《GNU Make 手册》)
  • The Linux Programming Interface(《Linux/UNIX 系统编程手册》)
  • Advanced Programming in the UNIX Environment(《UNIX 环境高级编程》)
  • The Art of Unix Programming(《UNIX 编程艺术》)
  • Managing Projects with GNU Make(《用 GNU Make 管理项目》)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2372 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 29ms · UTC 10:23 · PVG 18:23 · LAX 02:23 · JFK 05:23
♥ Do have faith in what you're doing.