Makext is a collection of useful extensions for Makefiles, aimed at simplifying and enhancing the functionality of Make-based projects. These extensio

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-05-12 11:30:04

Makext is a collection of useful extensions for Makefiles, aimed at simplifying and enhancing the functionality of Make-based projects. These extensions provide additional features and convenience functions to improve the overall usage of GNU Make as a task runner.

All the extensions are written in GNU Make so no other languages are used making this very embedable and has zero dependencies other than GNU Make.

Other than makext.mk all the other files in the repository are either license or readme files or just testing data that is/are not needed to use it.

This extensions are abusing GNU Make in some sense since it was not meant to really be a task runner. Keep that in mind. However, despite that, I constantly find myself using it as such.

Make sure you create first target help: .help before any other targets in your Makefile. GNU Make will execute first target if no target provided as an argument when calling make.

One of the extensions is .help which displays all the targets in the Makefile and their descriptions which are provided as comments next to the target definition.

Leave a Comment