Hi,
Yes, if the $(file) command works properly for your make.exe, it is the preferred way.
Another alternative would be to use CMake (VisualGDB supports it for MinGW projects). We are also planning to add MSBuild support to VisualGDB 5.2 that will use the response files automatically.