C language -make Overview

1. What is the make? (What is the extension autoconf)
the make is linux (class unix) application on top of the operating system automated build files.
autoconf is Linux (class unix) Application of the makefile generated above the operating system.
Two .make what's the use? (Gcc extended workflow)
1. When using the C language source file gcc compiler compiler workflow is as follows:
(1) Modify the code: add the associated header, skip codes, some codes or supplement
(2) compiled : assembly language code is converted into
(3) Assembly: generate object code, i.e., binary code
(4) link: configuration executable file format depending on the operating system may be executable
action 2.make to
make is for a user timestamp tool runs the compile command, make checks the source and target files, and if the target file expires, then recompile the target file.
Three .make file how to write?
make file components:

The destination file name: dependency name
 <- the Tab command compiled 
object file name: dependency name
 <-tab link command

The use of four .make
Enter the following command in the directory containing the makefile

make the destination file name

 

Guess you like

Origin www.cnblogs.com/renren-study-notes/p/11627455.html