diff options
Diffstat (limited to 'regress/make-quoting/files/continue.mk')
-rw-r--r-- | regress/make-quoting/files/continue.mk | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/regress/make-quoting/files/continue.mk b/regress/make-quoting/files/continue.mk new file mode 100644 index 00000000000..b82c1946d06 --- /dev/null +++ b/regress/make-quoting/files/continue.mk @@ -0,0 +1,19 @@ +# $NetBSD: continue.mk,v 1.1.1.1 2005/05/15 21:10:16 rillig Exp $ +# +# This file demonstrates that .for variables that end in a backslash are +# interpreted as line-continuations when they are placed at the end of a +# line. +# + +LIST= a:\ a:\foo.bar + +.PHONY: all +all: +.for l in ${LIST} + echo ${l:Q} + echo "second line" +.endfor +.for l in ${LIST} + echo ${l:Q}"" + echo "second line" +.endfor |