.for .. .endfor (in kcgi - Makefile)

andreas graeper via Users list for the GNU implementation of make <[email protected]> Wed, 8 Oct 2025 18:09:27 +0200
Newsgroups gmane.comp.gnu.make.general
Message-ID <CAFxc85XFPXnA9_Rd8d8Tx=xfdFu=JzJmgiS-xA5U+RkTW_4PXw@mail.gmail.com>
i tried to find documentation, but no success

Makefile:157: *** missing separator.  Stop.

s1 = x \
        y \
        z

s2 = a

d =
.for e in ${s1} ${s2}
  d += ${e}.htm
.endfor

make -v -> 4.3 , update -> 4.4.1 (both version)

i tried in extra makefile, simple as possible, but did not help
ld =
ls = a b c
.for e in ${ls}
  ld += ${e}
.endfor

thanks in advance, Andreas