GNU Make 4.2 发布了,Make是一个Linux的实用工具,可以自动判断程序的哪一部分需要重新编译。一旦作出判断位需要重新编译,它输入必要的命令来完成。让经常被用来从源 代码安装应用程序时,所以开放源码的开发者应该更了解这个工具,以及如何应用。如果您打算开发一个应用程序,可以从源代码安装,你需要知道如何创建一个 Makefile文件。 这个Makefile中描述您的应用程序中各个文件的关系,包括需要的声明,将它们连着一起。如果您熟悉安装应用程序,您就知道命令string ./configure; make ; make install。
更新内容:
New variable: $(.SHELLSTATUS) is set to the exit status of the last != or $(shell ...) function invoked in this instance of make. This will be "0" if successful or not "0" if not successful. The variable value is unset if no != or $(shell ...) function has been invoked.
The $(file ...) function can now read from a file with $(file <FILE).
The function is expanded to the contents of the file. The contents are
expanded verbatim except that the final newline, if any, is stripped.
The makefile line numbers shown by GNU make now point directly to the specific line in the recipe where the failure or warning occurred.
Sample changes suggested by Brian Vandenberg <address@hidden>
The interface to GNU make's "jobserver" is stable as documented in the manual, for tools which may want to access it.
WARNING: Backward-incompatibility! The internal-only command line option--jobserver-fds has been renamed for publishing, to --jobserver-auth.
The amount of parallelism can be determined by querying MAKEFLAGS, even when
the job server is enabled (previously MAKEFLAGS would always contain only
"-j", with no number, when job server was enabled).
VMS-specific 更新:
Perl test harness now works.
Full support for converting Unix exit status codes to VMS exit status
codes. BACKWARD INCOMPATIBILITY Notice: On a child failure the VMS exit code is now the encoded Unix exit status that Make usually generates, not the VMS exit status of the child.
详情点击此处查看。