Thus, environment variables are used only if a variable is not set in any makefile or on the command line. Note: parent makefile variables are sometimes, but not always, passed down.
因此,一个变量只有在没有在任何makefile或命令行中指定时,才会使用环境变量的设置注意:父进程makefile变量有时候会传递下来,但不总会这样。
The user has to obtain your module, run Makefile.PL to create a Makefile, run make to compile it, test it, and install it, and only then can scripts using the module be run.
用户必须取得您的模块,然后运行Makefile.PL来创建一个Makefile,再运行make 来对它进行编译、测试和安装。只有这样,使用这个模块的脚本才能得以正确运行。
With a suitably configured Makefile, only foo.o would be recompiled from its source.
使用一个经过适当配置的Makefile,将只会从源文件编译foo . o。
Other programs may ask you to directly edit a makefile, and of course, new development may require you to write one.
其他程序可能会要求我们直接编辑makefile,当然,新的开发还可能需要我们自己编写makefile。
Lastly, new features make it easier to create a new compiler environment with the ability to create new makefile templates to support the environment.
最后,新的特性使得创建一个新的汇编环境变得更加容易,创建新的makefile模板以支持环境也变得更加容易。
Good question, so we didn't have a Makefile yet, more on that in the future.
好问题,我们还没有一个Makefile文件,更多精彩,尽在以后的课程。
I've simply added instrument.c to Gzip's dependencies in its Makefile, built it, and then used Gzip to generate a trace file.
我简单地将instrument . c加入Gzip的Makefile中,作为其依赖的一个源文件,然后编译Gzip,并使用它生成一个跟踪文件。
This results in a difficult situation: fairly commonly used features, such as including other files in a makefile by reference, cannot be done portably!
这就导致出现了一种复杂的情况:很常用的一些特性,例如在makefile 中通过引用来包含其他文件,都不能很好地移植!
To compile this program, create a Makefile as follows.
要编译这个程序,请按以下方式创建一个makefile。
These flags are not especially portable but may be necessary to understand in debugging a makefile.
这些标记的可移植性并不好,但是对于理解makefile来说却是必须的。
If the make fails, look in the topmost directory for a makefile specific to your system.
如果make运行失败,那么在顶层目录中寻找适合自己系统的makefile。
You must take a close look into the makefile to figure out such situations, where parallelizing an otherwise fine script in serial mode will mess things up if it's run in parallel.
您必须严密监视 makefile 是否发生这种情况,在这种情况下,在顺序模式下良好编译的脚本会在并行模式下出现混乱。
As you know, the purpose of a makefile is to give instructions for building a program.
正如所了解的那样,makefile的目标就是为编译程序提供一些指令。
You still need to create a makefile to compile your code.
您需要创建一个makefile来编译代码。
Develop a common makefile structure and process.
开发一个共同的makefile结构和处理过程。
This can be converted to a Makefile file building only a 64-bit kernel extension by modifying these lines to
可以将此内容转换为Makefile文件,并通过修改为以下行构建仅 64位内核扩展
If you intend to use all the features of the library, include the header file m17n.h in your program, and then add -lm17n to your link options -- say in a Makefile.
如果要使用这个库的所有特性,就需要在程序中包含m17n.h 头文件,然后在链接选项中加上-lm17n 选项,这可以在 Makefile 中实现。
Here is a sample Makefile entry that does the same thing.
下面是一个样例Makefile条目,它所做的事情是一样的。
Its functionality, however, is a lot like the Makefile functionality in that complex operations on variables are hard to do.
但是,它的功能非常象Makefile功能,对变量的复杂操作是很难处理的。
Run configure to create a makefile appropriate for the native operating system.
运行configure,创建适合于原生操作系统的makefile。
Variables set in a parent make process's makefile.
父make进程的makefile中的变量设置。
Phony targets are used for organizational purposes and are a wonderful thing in writing a clear and legible makefile. For instance, one often sees rules like this.
伪目标是为了组织结构的目的而设计的,这在编写一个清晰的makefile时是种非常不错的技术。
Your goal in debugging a makefile is to figure out what make is trying to build, and what commands it thinks will build it.
在调试makefile时,目标是找到make正在试图编译什么东西,以及它认为哪些命令可以用来编译。
MakeMaker works by translating a simple configuration file into a standard makefile that can be used with the familiar make command.
MakeMaker将简单配置文件转换为标准makefile,该makefile可以与大家熟悉的make命令一起使用。
The Makefile contains a list of source files to build, and it also includes constants that enable or disable and choose certain snippets of code in the SQLite package.
这个Makefile中包含需要编译的源文件的列表,并且它还包括启用或者禁用并选择SQLite包中的某些代码片段的常数。
I needed to change one line in the makefile to build a 32-bit version, and about four lines to build a 64-bit version.
我需要在makefile中修改一行内容来编译一个32位的版本,修改4行内容来编译64位版本。
To convert this declaration into an includable document, you can write a small script or set of Makefile rules to transform it so that it looks like.
为了将这个声明转换成一个可包含文档,您可以编写一小段脚本或一组Makefile规则将其转换为。
If they are not, it will generate a list of missing files, and will not build the master Makefile.
如果它们不存在,它将生成丢失文件的列表,并不会构建主makefile。
When used with a makefile, overriding the CC variable suffices; see Listing 8.
当它与makefile一起使用时,就会覆盖CC变量;如清单8所示。
When used with a makefile, overriding the CC variable suffices; see Listing 8.
当它与makefile一起使用时,就会覆盖CC变量;如清单8所示。
应用推荐