I tried VS2012 Native Tools, Cross Tools and Developers command prompt. And it does not recognize 'nmake'. It didn't work on VS2010 either.
On VS2008, it could not find depencies like windows.h
I want to build a static library curl for VS2012: http://quantcorner.wordpress.com/2012/04/08/using-libcurl-with-visual-c-2010/
for visual studio 2015 community edition add the following path to your system environment path
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin
in the above path there is the nmake command