Make and Makefile for C/C++ Projects

Learn to master Makefile. Use it in your daily C/C++ workflow!

4.51 (429 reviews)
Udemy
platform
English
language
Development Tools
category
instructor
Make and Makefile for C/C++ Projects
2,119
students
1 hour
content
Nov 2022
last update
$64.99
regular price

What you will learn

Makefile Targets

Makefile Variables

Makefile Arguments

Set Compiler Flags etc.

Why take this course?

Course Description:

Do you want to take the next step as a C/C++ developer to get a professional foothold in these exciting languages?
Then my course is the right one for you.


What are Make and Makefiles?

The compilation of source code files can be controlled with the program make. This is especially useful if it is a large project where the compilation consists of many individual steps and dependencies. The individual steps can be, for example, separate compilations or other file operations such as copying and deleting. Dependencies can be, for example, conditional compilations. These steps and dependencies are combined into a Makefile, which is then processed by the make program.


This course consists of the following topics:

  • Makefile Hello World

  • Makefile Targets and Commands

  • Basic C/C++ Project Structure

  • Makefile Variables

  • Command-Line Values for Variables

  • Compiler, Pre-Processor, and Linker Flags

  • If, Else Statements in Makefiles

  • Clean Target and PHONY Targets

  • Patterns, Wildcards, and Substitutions

  • Using Sub-Directories for your Project

  • Wrap-Up of Makefiles

The Tool we will use:

  • You can use any IDE or Editor, i will use VSCode

  • You already should have installed Make on your Computer

  • Also any GCC or Clang should be installed on your system

  • Windows, Linux or Mac are all fine

Become a professional today, in the technology of tomorrow!

See you in class!

Screenshots

Make and Makefile for C/C++ Projects - Screenshot_01Make and Makefile for C/C++ Projects - Screenshot_02Make and Makefile for C/C++ Projects - Screenshot_03Make and Makefile for C/C++ Projects - Screenshot_04

Reviews

Nelson
August 4, 2023
Concise and well-explained. I only had a doubt about the use of %, but skipping that, it was an excellent course.
Jakub
July 23, 2023
This course explains all the basics of Make in a very concise way, along with the typical gotchas that cause trouble to beginners. The structure of the final Make project seems to be really reusable and applicable to different C/C++ software projects.
Kanchan
July 18, 2023
I would suggest, that this course should be an open-source course on youtube. This course will be a good way for people to know, what they could benefit from you and you could propose other courses in that playlist or video (if it is one complete video). I found this course good to get started with make as a beginner. I found it better than the videos available on youtube. It is well-structured and easy to understand. But the udemy has many courses like this and it is hard to differentiate which is better. A trial course like this will be good for students to get to know if its suits their study pattern.
David
June 11, 2023
I had a book on gnu make and read the first chapter or two. Seemed a bit much to read the entire book for the deadline that I was looking at. Using this course helped get me a shortcut to what I needed after the information that I gleaned from the book.
Johannes
March 12, 2023
Very good and compact course to get you started with make and makefiles. A little information on where to find more information would have been nice. Other than that, no complaints.
Christian
February 4, 2023
Straight to the point, short and sweet. What more could one ask for? I'd been intending to learn MAKE for years, but was afraid of how deep the rabbit hole might go. I completed the whole course in an afternoon and now feel confident that I know enough to be able to understand and tweak other people's Makefiles.
Christopher
December 30, 2022
This course was one of the best-paced "for a programmer" that I have found on Udemy. I Found Yan when searching for a fast paced course to learn C++ ("Quick Start to Modern C++ for Programmers"), and it looked perfect for my needs - 15 years experience coding but new to C++. Turns out I was also rudimentary in my familiarity with Make as well, so I grabbed this course and finished it in 1 day, feeling up to speed with this ubiquitous tool and ready to jump to his CMake course and on to the C++ course. Definitely happy to purchase more courses from this great teacher!
Ryan
November 14, 2022
If you need to learn make in an hour, you can do it with this course. It's quite short relative to other courses, but it's very concise and I would recommend it to anyone who needs to learn make quickly.

Charts

Price

Make and Makefile for C/C++ Projects - Price chart

Rating

Make and Makefile for C/C++ Projects - Ratings chart

Enrollment distribution

Make and Makefile for C/C++ Projects - Distribution chart
4929572
udemy ID
10/15/2022
course created date
12/24/2022
course indexed date
Bot
course submited by