GNU Make & Makefile To Build C/C++ Projects(LINUX,MAC)[2024]

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

4.30 (297 reviews)
Udemy
platform
English
language
Other
category
GNU Make & Makefile To Build C/C++ Projects(LINUX,MAC)[2024]
1,793
students
4.5 hours
content
Jan 2024
last update
$64.99
regular price

What you will learn

Build C/C++ program using Makefile

As a C/C++ developer what we should know about makefile!

Is Makefile difficult? No No No. We'll 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!

Why take this course?

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!


Screenshots

GNU Make & Makefile To Build C/C++ Projects(LINUX,MAC)[2024] - Screenshot_01GNU Make & Makefile To Build C/C++ Projects(LINUX,MAC)[2024] - Screenshot_02GNU Make & Makefile To Build C/C++ Projects(LINUX,MAC)[2024] - Screenshot_03GNU Make & Makefile To Build C/C++ Projects(LINUX,MAC)[2024] - Screenshot_04

Reviews

William
April 14, 2023
Great way of working through the examples. Other courses link to the assignment or have copy and past code.
Rocco
March 15, 2023
the course is good, the audio can be improved. I think it's better to put a link to the git repository at the beginning of the course not hiding it on one of the last lessons of the course. Plus, the last lesson finishes abruptly : "let me explain how to do this". where is the explanation?
Oscar
February 7, 2023
Sometimes the thick accents makes difficult to understand some parts at first, but the graphical presentation helps to understand what he meant. Anyway I give 5 stars because in approximately 1 hour of videos, I am capable now to read and understand the Makefiles used in the projects of my Job.
Damien
November 22, 2022
The course is very well made and comprehensive. But as a non-native english speaker, the accent is hard to understand. I need to stop sometimes to repeat some words, and have to focus all along the video like never.
Pratik
November 11, 2022
Good training experience and Understanding as per my expectation and teaching is in very simple language.
Joseph
October 23, 2022
The instructor's accent seems to get a bit thick every once and a while which causes me to rewind to figure out what he said.
Dragan
October 19, 2022
This course provides clear explanation of the logic used in creating Makefiles. Project based approach is perfectly suitable to place good foundations for understanding, which is usually lacking in online tutorials.
Jantzen
October 1, 2022
The first 3/4 of the course goes through make and makefile concepts. In the last 1/4 of the course you put that knowledge to use and build a project. You get the most out of this course when you follow along with with Subrata on the project.
Roman
September 29, 2022
Good course, however more exercise's and more sync between classes and git hub repository will be appreciated, the instructor just uploaded the final state of the makefile. This more of a problem in the later chapters as things is more complex and the instructor accent is not helping. But overall Good job.
Kirubhas
August 8, 2022
So far so good but the audio isn't clear in some sections of certain videos. The topics aren't comprehensive enough. Eg. It does not tell you about parallel execution, options in make etc.
Digvijay
March 14, 2022
It would have been helpful to have the source code files attached as "Resources" to the videos to try at our side for better learning. Right now it is just like watching the videos and only try the ones that we can along with the video - rest all just will evaporate
Yago
February 11, 2022
I'm in the beginning of the course and it's very hard to understand the teacher's pronunciation. I'll try to continue and give a better review later, but for now it's being a barrier on the learning process.
Ahmed
December 6, 2021
The content is inclusive indeed yet the instructor is not explaining or teaching how to, no he is like know the stuff by heart and want you todo the same
Neil
November 19, 2021
You are using MacOS but changes are required for CentOS-7: (1) file 'test_mod2.cpp' will not compile without this line: '#include <cstdlib>'. (2) I could not get test_mod2 to execute properly without first defining, then exporting, LD_LIBRARY_PATH. Alternatively, test_mod2.cpp would need to be compiled with the '-rpath=' switch. (3) same for executable 'mod3' (4) mtdemo,cpp must be built with the '-pthread' switch or the binary will not run
Sergio
October 12, 2021
I have found this course very helpful. I haven't been able to find all this information about Makefiles explained to the detail anywhere else. It is precisely what I was looking for. I would recommend this course to software engineers who are new to Makefiles and want to learn how to write them

Charts

Price

GNU Make & Makefile To Build C/C++ Projects(LINUX,MAC)[2024] - Price chart

Rating

GNU Make & Makefile To Build C/C++ Projects(LINUX,MAC)[2024] - Ratings chart

Enrollment distribution

GNU Make & Makefile To Build C/C++ Projects(LINUX,MAC)[2024] - Distribution chart

Related Topics

3540994
udemy ID
10/2/2020
course created date
12/8/2020
course indexed date
Bot
course submited by