Running a makefile from the command line on Windows
Running a makefile in command-line on Windows can be painful if you try to set all the environment variables (path, bin folder for the nmake utility, and so forth) manually, luckily enough, Visual Studio (Express edition as well) comes bundled with a batch file that does it for you: vcvars32.bat.
The tool is located in the bin folder of your Visual Studio install.
Source: http://www.codeguru.com/forum/archive/index.php/t-419379.html