github.com/westcoastroms/westcoastroms-build@v0.0.0-20190928114312-2350e5a73030/build/kati/testcase/subst2.mk (about)

     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)