GNU Make icon

GNU Make

Tool which controls the generation of executables.
3.83
Download40.7k downloadsActiveSelect a version to download a specific release.
GNU Make icon

About GNU Make4.4.1

Last updated on

GNU Make is a command-line build automation tool for turning source files into executables, libraries, documentation, and other generated files. It reads a makefile that describes how files depend on one another and which commands produce each output. For Linux developers, this puts the build process into a reusable set of rules that other contributors can run.

Its main benefit is incremental rebuilding. Make compares targets with their prerequisites and updates outputs when the inputs are newer. It also works out the order of dependent steps. After changing a source file, you can rebuild the affected parts of a program without compiling everything again, provided the makefile describes the dependencies correctly.

A makefile combines targets, prerequisites, and recipes. Recipes run shell commands, so GNU Make can coordinate compilers, linkers, archive tools, and document generators. It works with any programming language whose tools can be called from the shell. The same approach can automate installation or other recurring project tasks when the makefile supplies suitable targets.

GNU Make can also run independent recipes in parallel. The -j option lets you choose how many jobs may run at once, which can shorten builds when the workload and available hardware allow it. Accurate dependency rules remain essential: a step that needs another target's output must declare that relationship before parallel execution can be reliable.

The main trade-off is maintaining the makefile alongside the project. Make follows the relationships and commands it is given, so missing prerequisites can leave outputs out of date or cause failures during parallel builds. It is a practical choice for developers who want direct control over their build commands and are prepared to keep those rules accurate.

Supported platforms

Latest version

4.4.1
  • https://ftp.gnu.org/gnu/make/make-4.4.1.tar.gz

Rate this app

3.8 out of 5 · 12 ratings

No comment yet

Be the first to share your thoughts.

License

GPL

Latest version

4.4.1

Total downloads

40.71k

Author

The GNU Make team
Report incorrect information

Recently updated software