aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/makefile_escaping/quoting_args.mk
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--makefile_escaping/quoting_args.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefile_escaping/quoting_args.mk b/makefile_escaping/quoting_args.mk
new file mode 100644
index 0000000..d27c81d
--- /dev/null
+++ b/makefile_escaping/quoting_args.mk
@@ -0,0 +1,8 @@
+test_var := Same line?
+export test_var
+
+test:
+ printf '%s\n' $(test_var)
+ printf '%s\n' '$(test_var)'
+ printf '%s\n' $$test_var
+ printf '%s\n' "$$test_var"