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

如果使用生成文件生成项目请参见