
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 group to connect with peers as you learn GNU Makefile concepts in 30 minutes.
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.
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.
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.
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.
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++.