c98f603243
styles stay valid when updating the pkgsrc make(1) program. The test cases also serve as kind of demonstration how things work inside make(1).
11 lines
236 B
Makefile
11 lines
236 B
Makefile
# $NetBSD: for.mk,v 1.1.1.1 2005/05/15 21:10:16 rillig Exp $
|
|
#
|
|
# .for loops don't interpret variables in sh(1) mode, but split them at
|
|
# whitespace.
|
|
|
|
LIST_1= 1 2 "3 3" '4 ' 5'5'5"5"5
|
|
|
|
all:
|
|
.for i in ${LIST_1}
|
|
echo ${i:Q}
|
|
.endfor
|