The process of making and configure compiling with a gcc-like compiler is not straightforward, because a set of software does not have just one program, but a bunch of code files. So in addition to each main program and sub-program need to write a compilation process of the command, but also need to write the final link program. When the program is small, it is OK, if it is big, compile command is troublesome, this time, you can use make this command related functions to compile the process of the command simplified! When you run make, makes will search for makefile or makefile this document in the current directory, while the makefile contains the details of how the original code was compiled, and make will automatically determine if the original code has been changed. Will find makefile, that makefile is how to write it? Usually the software developer will write a detection program to detect the user's operating environment, and whether the job environment has the software developers need other functions, the detection process is completed, it will actively create the makefile rules file, usually this detection program document called Configure or The config detection program detects the following data: whether there is a suitable compiler can be translated software program code is already in existence of the software required function library, or other need to rely on the software operating system platform is suitable for the software, including Linux Core version core of the header definition (header Include) exists (the driver must be detected) the make and configure run process runs configure to create the makefile, which must be successful and then compiled with make to call the required data for final use Install the relevant software.
Linux source code installation software principle