I am using rvct arm compiler which requires path in windows format ( with backslashes )
I am using make from msys to compile files. rvct compiler takes -M argument that can
generate dependent .h files. This files are in windows format ( with backslashes ).

I need to convert these to msys format so that make understands the dependency
information generated by the rvct compiler.

the output of the compiler is as follows :

testcpp.o :      d:\project\test.h
testcpp.o :      d:\project\test2.h

Any tips on converting this to the msys path ?