1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
| XY:=x y
| X:=$(subst y, ,$(XY))
| Y:=$(subst x, ,$(XY))
|
| define func
| foo
| bar
| endef
|
| test:
| echo $(X)
| echo $(Y)
| echo $(strip $(X))
| echo $(strip $(Y))
| echo $(strip $(Y),$(X))
| echo $(strip $(XY))
| $(info $(strip $(call func)))
|
| test2:
| echo $(strip $(X),$(Y))
|
|