The file \Samples\Odbc\Admin\Ademo.mak is set up for compilation in 32-bit environments using a Microsoft or Microsoft-compatible C compiler. Use the \Samples\Odbc\Admin\Ademo.bat file to set the appropriate environment and to invoke the appropriate compiler and linker.
Note The Ademo.mak file assumes that you have installed the Platform SDK. If you are using Microsoft® Visual C++® 1.0 or later on Microsoft Windows NT®/Windows 2000, Admin Demo will not compile with the provided Ademo.mak. Instead, you must use the makefile generated by Visual C++.
To build the sample, change to the directory where Ademo.bat resides, and then perform the following steps:
ADEMO NDEBUG32
ADEMO DEBUG32
Unrecognized arguments to Ademo.bat will halt compilation with a warning.
To rebuild the Admndemo.exe file, Ademo.bat calls NMAKE, the Microsoft Program Maintenance Utility provided with Microsoft C version 7.0 or later, on the file Ademo.mak. If Ademo.mak is unmodified, Ademo.bat will rebuild the original Admndemo.exe sample.
For information about using NMAKE, see your C compiler tools documentation.