From 547af94f01613e777f6f9503320b14c5b11d7817 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 21 Mar 2022 08:33:59 +0300 Subject: makefile_escaping: unexport MAKEFLAGS --- _posts/2020-05-20-makefile-escaping.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to '_posts') diff --git a/_posts/2020-05-20-makefile-escaping.md b/_posts/2020-05-20-makefile-escaping.md index 073db73..81b5d1d 100644 --- a/_posts/2020-05-20-makefile-escaping.md +++ b/_posts/2020-05-20-makefile-escaping.md @@ -11,13 +11,14 @@ get to have a single Makefile and can just run `make build`, `make deploy`, As a side note, there's an excellent [Makefile style guide] available on the web. -I'm going to be using the prologue suggested in the guide in all Makefiles in -this post: +I'm going to be using a slightly modified prologue suggested in the guide in +all Makefiles in this post: [Makefile style guide]: https://clarkgrubb.com/makefile-style-guide ``` MAKEFLAGS += --no-builtin-rules --no-builtin-variables --warn-undefined-variables +unexport MAKEFLAGS .DEFAULT_GOAL := all .DELETE_ON_ERROR: .SUFFIXES: -- cgit v1.2.3