home *** CD-ROM | disk | FTP | other *** search
- :***************************************************************
- :* File Id. ZTPCW.BAT *
- :* Author. Stan Milam. *
- :* Date Written. 15 Oct 90. *
- :* *
- :* (c) Copyright 1990 by Stan Milam. *
- :* *
- :* Used to compile with Zortech C/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 ..\ztpcw%1\model goto model
- md ..\ztpcw%1
- echo ztpcw%1 >..\ztpcw%1\model
- :model
- copy ms*.obj ..\ztpcw%1 >nul
- cd..\ztpcw%1
- make model=%1 -f ..\pcw\ztpcw.mak >c.log
- if errorlevel 1 goto error
- if errorlevel 0 goto end
- :error
- echo *** error building library ***
- :end
- cd ..\pcw
-