Shinichiro Hamaji | 4125cf4 | 2015-04-03 11:42:28 +0900 | [diff] [blame] | 1 | XY:=x y |
2 | X:=$(subst y, ,$(XY)) | ||||
3 | Y:=$(subst x, ,$(XY)) | ||||
4 | |||||
5 | test: | ||||
6 | echo $(X) | ||||
7 | echo $(Y) | ||||
8 | echo $(strip $(X)) | ||||
9 | echo $(strip $(Y)) | ||||
10 | echo $(strip $(Y),$(X)) | ||||
11 | |||||
12 | # TODO: Hard to tell why. Fix this. | ||||
13 | #test2: | ||||
14 | # echo $(strip $(X),$(Y)) |