Gitiles
Code Review
Sign In
review.blissroms.org
/
platform_build_kati
/
c252c6b2564234cd895a974fc1036f33ab0a2a62
/
.
/
testcase
/
subst.mk
blob: 16946c5b59edd358a94178136faf54e94680ed5d [
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
)
echo $
(
subst
,
repl
,
str
)