makefiles

makefiles

 英

  • 網絡文件;制作文件;生成文件

例句

Makefiles (or Ant scripts, or whatever format the Company elects to use) are the core of the build process.

Makefile或者Ant腳本或者公司選擇使用其它格式都是處理過程核心

Each component has its own Makefile, and the top level Makefile walks through each of its sub-directories building all Makefiles it finds.

每個組件自己Makefile并且頂級Makefile遍歷有的目錄構建找到所有Makefile

One of the most frustrating historical compatibility problems is handling inclusion in makefiles.

歷史解決一個兼容性問題makefile包含處理

By avoiding architecture-specific subdirectories within the linux directory, makefiles are greatly simplified.

通過避免linux目錄出現特定體系結構目錄可以大大簡化makefile文件

You can learn about using Purify and integrating it into your build makefiles in the article: Navigating C in a leaky boat?

文章可以學習使用Purify以及整合makefiles可以一個滲漏船舶導航C嗎?

Remember that makefiles require you to make indented lines using the Tab character and not spaces.

記住Makefile要求使用Tab字符不是空格產生進行

Let's review some of the most common problems you'll encounter when working with makefiles.

下面回顧一下使用makefile遇到常見一些問題

Some small sample applications are provided that include makefiles for compilation.

提供一些小型包含編譯生成文件makefiles示例應用程序

This is especially key if you are porting a codebase from Linux on Intel, since this flag may not be explicitly used in existing Makefiles.

如果IntelLinux移植代碼codebase),尤其關鍵因為已有的Makefile文件可能沒有顯式使用這個標記

The real work is done by the two files that the makefiles now include, makefile. Inc and makefile. Targ. Inc.

實際工作生成文件現在包含兩個文件完成它們makefile.incmakefile.

The decision to simply write a program to create makefiles is one solution.

簡單編寫程序創建makefile就是一種解決方案

This step has different implications for projects that use makefiles.

步驟使用生成文件項目不同含義

This is amplified by the lack of include files, as anyone who has ever struggled with Imake's multi-thousand-line makefiles can attest.

如果包含文件存在這樣負面影響放大那些曾經Imake數千makefile掙扎可以證明這點

project (. dsp) file, but they should export the makefiles locally.

項目(。DSP文件他們應該出口當地Makefiles

Enforce the use of makefiles, even for Visual Studio projects.

加強makefile使用即使VisualStudio項目也是如此

This section demonstrates how to change existing makefiles to automatically embed the manifest inside the final binary.

演示如何更改現有生成文件以便清單自動嵌入最終文件

In order to generate dynamically linked binaries, include -fPIC in all Makefiles.

生成動態鏈接文件需要所有Makefile文件包含-fPIC。

The following examples show how to change makefiles to incorporate both techniques.

下面示例說明如何更改生成文件方法結合

Most makefiles have at least a couple of rules that never create a target. Consider the following example rule

大部分makefile至少規則它們從來不會創建目標

Next, change the makefiles and introduce Linux-specific items

然后修改makefile引入特定Linux條目

If you use makefiles to build your projects, see

如果使用生成文件生成項目請參見