home *** CD-ROM | disk | FTP | other *** search
- :***************************************************************
- :* File Id. MSPCW.BAT *
- :* Author. Stan Milam. *
- :* Date Written. 15 Oct 90. *
- :* *
- :* (c) Copyright 1990 by Stan Milam. *
- :* *
- :* Used to compile with Microsoft C. *
- :* This batch file is invoked from another batch file that *
- :* passes the memory model parameter to use to compile the *
- :* PC Windows library. *
- :* *
- :***************************************************************
- :*
- Echo Off
- if exist ..\mspcw%1\model goto model
- md ..\mspcw%1
- echo mspcw%1 >..\mspcw%1\model
- :model
- copy ms*.obj ..\mspcw%1 >nul
- cd..\mspcw%1
- nmake model=%1 -f ..\pcw\mspcw.mak >compile.log
- if errorlevel 1 goto error
- if errorlevel 0 goto end
- :error
- echo *** error building library ***
- :end
- cd ..\pcw
-