Linux make Configure make

Source: Internet
Author: User
Tags sin
Open Source: Is the program code, written to the human look of the program language, but the machine does not know, so unable to execute; compiler: Translate the program code into a machine-readable language, like a compiler's role; an executable file: A file that can be executed after the compiler becomes a binary machine; will be in the current directory search makefile file, makefile inside the source code how to compile information Configure build makefile file gcc compiled file gcc hello.c will generate a target file The default is a.out, if you want to build the target file (object files) to do other things, and the file name of the executable does not have the default a.out gcc-c hello.c This will generate the target file Hello.ogcc-o Hello hello.0 generated can be The line file hello will generate the benefits of make 1, simplify the compile-time required to execute the command 2, if the compilation is completed, modify a source file, then make only for the modified file to compile, the other target files will not be modified. 3, finally can be in accordance with the phase to update the execution of the file makefile file such as MAIN:MAIN.O haha.o sin.o gcc-o main main.0 haha.o SIN.OCLEAN:RM-RF main MAIN.O H AHA.O sin.0 Delete The destination file when you perform make clean

Linux make Configure make

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.