For some older projects without solution files, you have to use makefile.vc files.

In a CMD shell, type:

"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"

then

nmake /f makefile.vc [target]
