I am trying to use makefile "subst" function to split the text. Here is my code.
$(subst :,\nvalue:,peter:value:2)
what I want to do is that is to split from the first of occurrence of the ':'. but it also splits on the second occurrence. Can someone help me how to solve that issue. the result she be similar to below.
peter\nvalue:value:2