ronnie
2022-10-14 1504bb53e29d3d46222c0b3ea994fc494b48e153
1
2
3
4
5
6
7
8
9
10
11
# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions
,:= ,
empty:=
space:= $(empty) $(empty)
foo:= a b c
bar:= $(subst $(space),$,,$(foo))
# bar is now `,abc'
# space in `,$(foo)' replaced with `$', which will be empty
 
test:
   echo $(bar)