Linux Learning Notes--Example Makefile Index blog post

Source: Internet
Author: User

0. PrefaceStart by learning C language and start to contact makefile slowly. Consulted a lot of makefile information but the total feeling did not really master makefile, assume that oneself write a makefile always think very laborious. So deliberately using the blog to summarize the relevant knowledge of makefile. The detailed use of the makefile is illustrated by the sample example.

The blog is trying to be easy. The makefile is illustrated by the sample example. Rather than the entire paragraph or the entire piece of plagiarism on the web.
1. Index1. Only a single C file 2. Contains multiple C files 3. You need to include the header file path 4. Add a macro definition 5. Add a system Shared Library 6. Add your own definition Shared Library 7. A practical case--freemodbus linuxtcp
2. Code WarehouseThe Code warehouse--makefile-example code warehouse is located in BitBucket, where you can clone code with TORTOISEHG (GUI tools) or download a zip package directly from a Web page.

Linux Learning Notes--Example Makefile Index blog post

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.