commit | 4125cf42194f0f31133a9092bdd8dbcb3b1726ee | [log] [tgz] |
---|---|---|
author | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Fri Apr 03 11:42:28 2015 +0900 |
committer | Shinichiro Hamaji <shinichiro.hamaji@gmail.com> | Fri Apr 03 11:42:28 2015 +0900 |
tree | 0438a7c64ef82ddd5374fb6129d8aeaa66fc92c8 | |
parent | c565e4448db15a84f6b4e6694f376f190e8c4161 [diff] [blame] |
Implement strip
diff --git a/test/strip.mk b/test/strip.mk new file mode 100644 index 0000000..61bea5f --- /dev/null +++ b/test/strip.mk
@@ -0,0 +1,14 @@ +XY:=x y +X:=$(subst y, ,$(XY)) +Y:=$(subst x, ,$(XY)) + +test: + echo $(X) + echo $(Y) + echo $(strip $(X)) + echo $(strip $(Y)) + echo $(strip $(Y),$(X)) + +# TODO: Hard to tell why. Fix this. +#test2: +# echo $(strip $(X),$(Y))