SHELL := bash
.ONESHELL:
.SHELLFLAGS := -e -u -c -o pipefail
.DELETE_ON_ERROR:
MAKEFLAGS += --warn-undefined-variables
MAKEFLAGS += --no-builtin-rules
This might evolve as I find more options to be interesting.
- https://makefile.site/
- https://medium.com/stack-me-up/using-makefiles-the-right-way-a82091286950
- https://tech.davis-hansson.com/p/make/ (my main source of inspiration)