Gitiles
Code Review
Sign In
review.blissroms.org
/
platform_build_kati
/
a90adb03eebc68961c1c9ff34b0e2acb49e27502
/
.
/
testcase
/
subst.mk
blob: a20e447255e28d9409b16ea49d3559b6a003ee3b [
file
] [
log
] [
blame
]
# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions
comma
:=
,
empty
:=
space
:=
$
(
empty
)
$
(
empty
)
foo
:=
a b c
bar
:=
$
(
subst $
(
space
),
$
(
comma
),
$
(
foo
))
# bar is now `a,b,c'
test
:
echo $
(
bar
)