The make
utility automatically determines which pieces of a large program need to be recompiled, and issues commands to recompile them. This manual describes GNU make
, which was implemented by Richard Stallman and Roland McGrath. Development since Version 3.76 has been handled by Paul D. Smith.
GNU make
conforms to section 6.2 of IEEE Standard 1003.2-1992 (POSIX.2).
Our examples show C programs, since they are most common, but you can use make
with any programming language whose compiler can be run with a shell command. Indeed, make
is not limited to programs. You can use it to describe any task where some files must be updated automatically from others whenever the others change.
• Preparing | Preparing and running make . |
|
• Reading | On reading this text. | |
• Bugs | Problems and bugs. |
Copyright © 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Free Software Foundation, Inc.
Licensed under the GNU Free Documentation License.
https://www.gnu.org/software/make/manual/html_node/Overview.html