Enter nmake /f Makefile.win installr INSTDIR="C:\www\apache"
运行nmake 命令安装发布版本(输入 nmake /fMakefile.wininstallrINSTDIR="C:\www\apache")
By default, NMAKE halts if a command returns a nonzero exit code.
根据预设,如果命令传回非零的结束代码,NMAKE 将会暂止。
Run the nmake for the release build (enter nmake /f Makefile.win _apacher), or
为发布版本运行nmake 命令(输入 nmake /fMakefile.win _apacher),或者
If a macro has multiple definitions, NMAKE USES the highest-precedence definition.
如果宏有多个定义,NMAKE使用优先级最高的一个。
If a variable was set in the operating-system environment, it is available as an NMAKE macro.
如果变数是在作业系统环境中设定,便可当做NMAKE巨集来使用。
NMAKE may invoke a rule for an inferred dependent even if an explicit dependent is specified.
即使指定了明确相依性,NMAKE 仍可叫用推断相依的规则。
The nmake tool, which is part of the Microsoft Visual C++ installation, can come in very handy here.
nmake工具是MicrosoftVisual C++安装的一部分,在这里用起来非常得心应手。
Run the nmake to install the debug build (enter nmake /f Makefile.win installd INSTDIR="C:\www\apache").
运行nmake 命令安装调试版本(输入 nmake /fMakefile.wininstalldINSTDIR="C:\www\apache")。
NMAKE looks for a matching inference rule if a description block is not followed by a commands block.
如果描述块后面没有紧跟命令块,NMAKE 将查找匹配的推理规则。
NMAKE inherits macro definitions for environment variables that exist before the start of the session.
NMAKE继承在工作阶段开始之前就存在的环境变数巨集定义。
If a variable's value contains a dollar sign ($), NMAKE interprets it as the beginning of a macro invocation.
如果变数的值包含货币符号 ($),NMAKE 会将它解读为巨集引动过程的开头。
NMAKE interprets the backslash literally if any other character, including a space or TAB, follows the backslash.
如果反斜杠后紧跟有其他任何字符(包括空格或制表符),则NMAKE按原义解释反斜杠。
Experience working with various project building technologies such as Ant, autoconf, make, and nmake is beneficial but not mandatory.
如果有各种项目构建技术的经验(如ant、autoconf、make和nmake)也很好,但不做强制性要求。
To examine all the options available with the nmake tool, you can use the command nmake -help. The command that we use to build our simple.exe.
为了检查可与nmake工具一起使用的选项,可以使用命令nmake- help。
SUFFIXES contains the dependent's extension, NMAKE USES a rule whose extensions match the target and an existing file in the current or specified directory.
SUFFIXES包含依赖项的扩展名,则NMAKE使用其扩展名与当前或指定目录中的目标和现有文件匹配的规则。
If the target preceding the colon is a single character, use a separating space; otherwise, NMAKE interprets the letter-colon combination as a drive specifier.
如果在冒号之前的目标为单一字元,请使用分隔空格,否则nmake会将字母冒号的组合解译为磁碟指定元。
If a dependent is a target elsewhere and does not exist or is out-of-date with respect to its own dependents, NMAKE updates the dependent before updating the current dependency.
如果相依性是其他处的目标且不存在,或相对于自身的相依性已经过时,NMAKE将会在更新目前的相依性之前先更新该相依。
If a dependent is a target elsewhere and does not exist or is out-of-date with respect to its own dependents, NMAKE updates the dependent before updating the current dependency.
如果相依性是其他处的目标且不存在,或相对于自身的相依性已经过时,NMAKE将会在更新目前的相依性之前先更新该相依。
应用推荐