Make sure to set the Visual Studio environment in the CMD.exe shell. You can also open a standard telnet session or a command prompt and call (for 32-bit): "D:\Programme\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat" Available targets you get with nmake /nologo /f Makefile.W32 help