Sign in
android
/
platform
/
build
/
kati
/
cdf55a0
/
.
/
testcase
/
subst.mk
blob: e6dcdd94e69acfac172cf85498e1a80f40e26bdb [
file
] [
log
] [
blame
]
# TODO(go): Fix
# 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
)