in reply to VC++ makefile to unix Makefile convertor in perl
However, there's an awk script in mingw-utils that it is claimed does the job for .dsw files.