GNU Make

Software Screenshot:
GNU Make
Software Details:
Version: 4.2.1 updated
Upload Date: 20 Jun 16
Developer: Paul D. Smith
Distribution Type: Freeware
Downloads: 82

Rating: 3.3/5 (Total Votes: 3)

GNU Make is an open source and free command-line software that has been designed from the ground up to control the generation of executable files and other non-source files of a program, from the program's source files.

Builds programs from sources

This tool is capable of building programs from sources, thanks to a file called the makefile, which can be found in the sources archive of the respective program, and lists each of the non-source files, as well as how to compute them from other files.

Builds and installs packages

The software is capable of enabling end-users to build and install packages without them knowing the details of how it is done, and it can also automatically figure out which files need to be updated, based on which source files have been changed.

GNU Make has numerous powerful features that can be used by developers in makefiles. It can also regenerate, use and delete intermediate files that need not be saved during the compilation process.

An essential program for every GNU/Linux system

GNU Make is one of the most essential program in a GNU/Linux operating system, as it allows users to compile and install applications on their distribution using the universal sources archive of the respective project. Without it, you won’t be able to install any package that is distributed only as a source tarball.

Under the hood, availability and supported OSes

The software is written entirely in the C++ programming language and has been engineered to work well on any GNU/Linux distribution, supporting both 32-bit and 64-bit instruction set architectures.

The funny part is that GNU Make itself is distributed as a universal sources archive, which means that you will need to already have GNU Make installed in order to install it on your Linux distribution from sources. However, it should be installed by default on any distro.

What is new in this release:

  • WARNING: Backward-incompatibility! If .POSIX is specified, then make adheres to the POSIX backslash/newline handling requirements, which introduces the following changes to the standard backslash/newline handling in non-recipe lines: * Any trailing space before the backslash is preserved * Each backslash/newline (plus subsequent whitespace) is converted to a single space
  • New feature: GNU Guile integration This version of GNU make can be compiled with GNU Guile integration. GNU Guile serves as an embedded extension language for make. See the "Guile Function" section in the GNU Make manual for details. Currently GNU Guile 1.8 and 2.0+ are supported. In Guile 1.8 there is no support for internationalized character sets. In Guile 2.0+, scripts can be encoded in UTF-8.
  • New command line option: --output-sync (-O) enables grouping of output by target or by recursive make. This is useful during parallel builds to avoid mixing output from different jobs together giving hard-to-understand results. Original implementation by David Boyce . Reworked and enhanced by Frank Heckenbach . Windows support by Eli Zaretskii .
  • New command line option: --trace enables tracing of targets. When enabled the recipe to be invoked is printed even if it would otherwise be suppressed by .SILENT or a "@" prefix character. Also before each recipe is run the makefile name and linenumber where it was defined are shown as well as the prerequisites that caused the target to be considered out of date.
  • New command line option argument: --debug now accepts a "n" (none) flag which disables all debugging settings that are currently enabled.
  • New feature: The "job server" capability is now supported on Windows. Implementation contributed by Troy Runkel
  • New feature: The .ONESHELL capability is now supported on Windows. Support added by Eli Zaretskii .
  • New feature: "!=" shell assignment operator as an alternative to the $(shell ...) function. Implemented for compatibility with BSD makefiles. Note there are subtle differences between "!=" and $(shell ...). See the description in the GNU make manual. WARNING: Backward-incompatibility! Variables ending in "!" previously defined as "variable!= value" will now be interpreted as shell assignment. Change your assignment to add whitespace between the "!" and "=": "variable! = value"
  • New feature: "::=" simple assignment operator as defined by POSIX in 2012. This operator has identical functionality to ":=" in GNU make, but will be portable to any implementation of make conforming to a sufficiently new version of POSIX (see http://austingroupbugs.net/view.php?id=330). It is not necessary to define the .POSIX target to access this operator.
  • New feature: Loadable objects This version of GNU make contains a "technology preview": the ability to load dynamic objects into the make runtime. These objects can be created by the user and can add extended functionality, usable by makefiles.
  • New function: $(file ...) writes to a file.
  • New variable: $(GNUMAKEFLAGS) will be parsed for make flags, just like MAKEFLAGS is. It can be set in the environment or the makefile, containing GNU make-specific flags to allow your makefile to be portable to other versions of make. Once this variable is parsed, GNU make will set it to the empty string so that flags will not be duplicated on recursion.
  • New variable: `MAKE_HOST' gives the name of the host architecture make was compiled for. This is the same value you see after 'Built for' when running 'make --version'.
  • Behavior of MAKEFLAGS and MFLAGS is more rigorously defined. All simple flags are grouped together in the first word of MAKEFLAGS. No options that accept arguments appear in the first word. If no simple flags are present MAKEFLAGS begins with a space. Flags with both short and long versions always use the short versions in MAKEFLAGS. Flags are listed in alphabetical order using ASCII ordering. MFLAGS never begins with "- ".
  • Setting the -r and -R options in MAKEFLAGS inside a makefile now works as expected, removing all built-in rules and variables, respectively.
  • If a recipe fails, the makefile name and linenumber of the recipe are shown.
  • A .RECIPEPREFIX setting is remembered per-recipe and variables expanded in that recipe also use that recipe prefix setting.
  • In -p output, .RECIPEPREFIX settings are shown and all target-specific variables are output as if in a makefile, instead of as comments.
  • On MS-Windows, recipes that use ".." quoting will no longer force invocation of commands via temporary batch files and stock Windows shells, they will be short-circuited and invoked directly. (In other words, " is no longer a special character for stock Windows shells.) This avoids hitting shell limits for command length when quotes are used, but nothing else in the command requires the shell. This change could potentially mean some minor incompatibilities in behavior when the recipe uses quoted string on shell command lines.

Similar Software

asm2class
asm2class

3 Jun 15

slacktrack
slacktrack

11 May 15

DEMUX Framework
DEMUX Framework

17 Feb 15

Comments to GNU Make

Comments not found
Add Comment
Turn on images!