GNU Make & Makefile To Build C/C++ Projects – (LINUX,MAC)

hf3yRfvktsD5vtjj2cN6GSXsmMNUIapF

了解构建过程的内部结构,以便为 Linux 和 MAC OS 中的 C/C++ 项目编写更好的 makefile。

您将学到什么
使用 Makefile 构建 C/C++ 程序
作为 C/C++ 开发人员,我们应该了解有关 makefile 的知识!
Makefile难吗?不 不 一点也不。我们会让它变得简单。我们将专注于在 Makefile 中工作的容易程度。在这里做项目,这样你的概念就会被清除。
您会觉得这门课程是 Makefile 的实用指南。(MAC、Linux)
交叉编译支持
技巧让它变得更方便!

要求
Linux 或 Mac OS
应具备 C 或 C++ 的基本知识。
最好知道什么是可执行二进制文件、共享对象(.so)、静态库(.a)
描述
通过了解在构建 C/C++ 程序期间发生的幕后情况(中间文件的创建),了解 make 工具并编写更好的 makefile。我们将通过使用实时示例(“Creation Of Egg Omelet”)来理解 makefile。

在makefile的学习过程中,我们将做2个项目。

项目#1:在不知道/记住太多东西的情况下,您将能够编写一个生成文件来生成二进制、共享对象(.so)、静态对象(.a),并且还可以获得从任何地方链接的技巧。这个项目完成后makefile的想法就会被清除。在完成这个项目后,我们正在创建一个 makefile 模板,它可以在任何项目中轻松使用。

PROJECT#2:在实施这个项目期间,我们将通过应用模式、函数来改进在 Project#1 中创建的 makefile 和 makefile 模板。

每一步我们都会遇到一些问题,然后应用解决方案。

在了解了 C/C++ 程序的所有可能输出之后,我们将从创建项目文件夹结构开始(这可以在实时项目中使用)。然后我们会在编程中遇到更多的技术问题,并尝试在这个过程中一一解决。我们的项目结构使部署过程变得更加容易。

我们将开始编写简单的 makefile,并在我们真正需要的时候不断改进!我们正在做很多练习,面临很多问题,并且还在即时修复所有问题!

我们将为所有可能的输出编写一个生成文件。在本课程中,您将永远了解为什么?如何???

我将向您展示特定概念的真正要求,然后我们将学习并应用它。

强调

1.通过了解最少的事情来编写makefile。

2.一个Makefile调用所有的makefile

3. 具有交叉编译功能的 Makefile

4. Makefile 考虑 DEBUG & RELEASE 版本的二进制文件。

5. 将 MACRO 从 makefile 传递到其他 makefile

6.检测终端的环境变量,一个make将相同的传递给另一个make。

7. 我们将讨论项目的高级设计(HLD),从中您将感受到编写makefile 是多么容易。

8.你会更适应命令行编译

9. 了解共享对象链接问题以及如何临时和永久修复它。

10. 项目将在 MAC 中完成并复制到 Linux。我们将直接进行一次 make,它将调用所有模块 makefile 并无缝构建可执行文件、共享对象、静态对象。重要的是没有对 LINUX 进行任何单行代码更改!

本课程适用于
愿意学习如何编写 Makefile 来构建项目的 C、C++ 程序员。IMP:如果从头开始从事一个项目(从本课程中获得更多好处)。
学生、软件工程师、项目负责人和技术经理

Understand build process internals to write better makefile for C/C++ Projects in Linux & MAC OS.

Genre: eLearning | MP4 | Video: h264, 1280×720 | Audio: AAC, 48.0 KHz
Language: English | Size: 2.20 GB | Duration: 3h 39m

 

What you’ll learn
Build C/C++ program using Makefile
As a C/C++ developer what we should know about makefile!
Is Makefile difficult? No No No not at all. We will make it simple. We will focus on how easily we can work in Makefile. Doing Project here, so your concept will be cleared.
You will feel this course as a practical guide to Makefile.(MAC,Linux)
Cross Compilation Support
Tricks To Make it Handy!

Requirements
Linux or Mac OS
Should have basic knowledge in C or C++.
Better if know what is executables binaries, shared object(.so), static library(.a)
Description
Understand make tool & write better makefile by understanding what is happening behind the scene(Creation of intermediate files) during building C/C++ programs. We will understand the makefile by using a real time example( “Creation Of Egg Omelet” ).

We are going to do 2 projects during the learning process of makefile.

PROJECT#1: Without knowing/remembering too many things you will be able to write a makefile for generating binary, shared object(.so), static object(.a), and also get a trick to link from anywhere. After completion of this project Idea of makefile will be cleared. We are creating a makefile template after completing this project and which can be easily used in any project.

PROJECT#2: During implementing this project, we’ll improve our makefile and makefile template created in Project#1 by applying patterns, functions.

Every step we will face some problem and then apply the solution.

We will begin with the PROJECT FOLDER STRUCTURE creation(THIS CAN BE USED IN REAL TIME PROJECTS) after understanding all the possible output of a C/C++ program. Then we will come across more technical issues in programming and try to solve them one by one during this journey. Our project structure is in such a way that deployment process will become much easier.

We’ll start writing simple makefiles and keep on improving as we really need it! We are doing lots of exercises and facing lots of issues and also fixing all on the fly!

We are going to write a makefile for all possible outputs. In this course you will always learn WHY??? and HOW???

I will show you the real requirement of a particular concept and then we will learn and apply that.

Highlights

1. Write makefile by knowing minimal things.

2. One Makefile to call all makefiles

3. Makefile with Cross Compilation feature

4. Makefile considering DEBUG & RELEASE version of binary.

5. Passing MACRO from makefile to other makefile

6. Detect environment variables of terminal and one make pass the same to other make.

7. We will discuss high level design(HLD) of the projects and from that you will feel how easy it is to write a makefile.

8. You will be more comfortable with command line compilation

9. Understand shared object linking issues and how to fix it temporarily as well as permanently.

10. Project will be done in MAC and copied to Linux. We will directly do a single make which will call all the modules makefile and build the executables, shared object, static objects seamlessly. IMPORTANT thing is WITHOUT ANY SINGLE LINE OF CODE CHANGE FOR LINUX!

Who this course is for
C,C++ programmer willing to learn how to write Makefile for building project. IMP: If working in a project from the scratch(Get more benefit out of this course).
Students,Software Engineers,Project Leads & Technical Managers

资源下载此资源仅限VIP下载,请先
本站资源仅限VIP会员下载点击购买VIP会员

原创文章,作者:steven,如若转载,请注明出处:https://rr3d.cn/31540.html

赞 (0)
steven的头像steven
上一篇 2022年4月13日 下午4:01
下一篇 2022年4月14日

相关推荐

发表回复

登录后才能评论
分享本页
返回顶部