aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/makefile_escaping/escaping_quotes.mk
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-05-29 23:02:49 +0000
committerEgor Tensin <Egor.Tensin@gmail.com>2020-05-29 23:02:49 +0000
commitddeadb135e846cd3fb1f374160b944fd28ce729e (patch)
treebabd42aee3090c5382a5ff2db526ba17af33d6d7 /makefile_escaping/escaping_quotes.mk
parentmakefile_escaping: rename *.mk files (diff)
downloadblog-ddeadb135e846cd3fb1f374160b944fd28ce729e.tar.gz
blog-ddeadb135e846cd3fb1f374160b944fd28ce729e.zip
makefile_escaping: add prologue to all *.mk files
Diffstat (limited to 'makefile_escaping/escaping_quotes.mk')
-rw-r--r--makefile_escaping/escaping_quotes.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/makefile_escaping/escaping_quotes.mk b/makefile_escaping/escaping_quotes.mk
index 2d953f8..2a43f69 100644
--- a/makefile_escaping/escaping_quotes.mk
+++ b/makefile_escaping/escaping_quotes.mk
@@ -1,3 +1,10 @@
+MAKEFLAGS += --warn-undefined-variables
+.DEFAULT_GOAL := all
+.DELETE_ON_ERROR:
+.SUFFIXES:
+SHELL := bash
+.SHELLFLAGS := -e -o pipefail -c
+
escape = $(subst ','\'',$(1))
test_var := Includes ' quote