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