Using Python inside Makefiles

Introduction Make is an ubiquitous tool to build software. It reads a configuration file (traditionally called Makefile ). This file lists the targets to build, their dependencies and the recipes to build the targets from their dependencies. Traditionally, the recipes are written in shell script. In this article I present how some creative use of Make variables can let us write those in Python…