The Platform SDK includes a command-line makefile for use with the NMAKE utility. This makefile follows Platform SDK conventions and includes WIN32.MAK. The makefile can also be used as an external makefile from Microsoft Developer Studio.
To build the debugging version for Win32 platforms, type
nmake
To build the retail version for Win32 platforms, type
nmake NODEBUG=1
To build the debugging version for Win16 platforms, type
nmake -f makefile.16
To build the retail version for Win16 platforms, type
nmake -f makefile.16 NODEBUG=1