aboutsummaryrefslogtreecommitdiff
path: root/o-iterator.mk
blob: 18a6e48ae378d2687f584aecd0fe8c841ad28c62 (plain)
1
2
3
4
5
6
7
8
9
# This file is included several times in a row, once
# for each element of $(object-suffixes).  $(object-suffixes-left)
# is initialized first to $(object-suffixes) so that with each
# inclusion, we advance $o to the next suffix.

o := $(firstword $(object-suffixes-left))
object-suffixes-left := $(filter-out $o,$(object-suffixes-left))

$(o-iterator-doit)