Skip to content

Makefile Advanced Guide

Compare
Choose a tag to compare
@Nuno-Jesus Nuno-Jesus released this 20 Aug 12:34
· 1 commit to master since this release

Makefile Advanced Guide

Hurray, finally! This patch brings Makefile features that are not necessary for you to know, but will definitely make your life easier and your projects and Makefiles way more structured!

What changed:

  • Released the Advanced Guide containing sections about:
    • ❔ Conditional directives (ifeq, ifneq, ifdefand ifndef)
    • 🚩 A new compiler flag, -MMD
    • 📝 Declaring variables through the command-line
    • 🔥 Makefile functions
    • 📁 The vpath directive
  • Added a new Good-To-Know Errors section
  • Added a new -I flag to the flags section