diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-21 08:33:59 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-21 08:33:59 +0300 |
commit | 547af94f01613e777f6f9503320b14c5b11d7817 (patch) | |
tree | 1b52e21a8a7d84c8906bdd28be9b30e3aa55ca29 | |
parent | add a favicon (diff) | |
download | blog-547af94f01613e777f6f9503320b14c5b11d7817.tar.gz blog-547af94f01613e777f6f9503320b14c5b11d7817.zip |
makefile_escaping: unexport MAKEFLAGS
Diffstat (limited to '')
-rw-r--r-- | _posts/2020-05-20-makefile-escaping.md | 5 |
1 files changed, 3 insertions, 2 deletions
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: |