summaryrefslogtreecommitdiff
blob: 31560ce2314a42cc50f478a176b366b657528035 (plain)
1
2
3
4
5
6
7
8
# This file is included several times in a row, once for each element
# $(cpp-src) of $(cpp-srcs-left).  It sets libof-$(cpp-src) to $(lib)
# for each.

cpp-src := $(firstword $(cpp-srcs-left))
cpp-srcs-left := $(filter-out $(cpp-src),$(cpp-srcs-left))

libof-$(notdir $(cpp-src)) := $(lib)