Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn Writing GNU Makefile in 30 minutes
Rating: 4.3 out of 5(105 ratings)
2,833 students

Learn Writing GNU Makefile in 30 minutes

Makefile for C/C++ programs on Linux Platforms
Last updated 3/2021
English
English [Auto],

What you'll learn

  • Automate Building C/C++ projects using Makefile

Course content

1 section6 lectures35m total length
  • Introducing Makefile5:08

    Learn the purpose and basics of makefiles, and how to use make to compile source files, link static or dynamic libraries, and produce executables.

  • Join Telegram Group0:13

    Join Telegram group to connect with peers as you learn GNU Makefile concepts in 30 minutes.

  • Makefile Analogy - Dependency Tree5:35

    Understand the dependency tree via a meal analogy, where a final meal depends on components and subcomponents, and apply bottom-up updates to writing GNU makefiles.

  • Makefile Assignmnet - Part15:41

    Learn to write a makefile that builds an executable from a main source and headers, and creates a static library lipKelsey.a from object files of multiple math modules.

  • Makefile Assignmnet - Part211:15

    Learn to write makefile rules with targets, dependencies, and recipes to build object files into a static library and an executable, including header paths and linking with libm.

  • Final Makefile8:02

    Explore how a makefile builds a final executable from object files and libraries using depth-first, post-order dependency resolution, with clear rules, and a clean rule to remove artifacts.

Requirements

  • Should be familiar with how to compile the C/C++ programs using gcc compiler on linux platform

Description

You must give up the unprofessional habit of compiling and building your projects using individual compiler commands. This is not only a tedious task, but also very cumbersome and time consuming.

This is a short quick course which enable you learn writing GNU Makefiles in 30 minutes. Using Makefiles you can easily automate building/compilation/linking your software projects in C/C++.

Who this course is for:

  • College grads
  • Working Professional
  • Programming enthisiasts