home *** CD-ROM | disk | FTP | other *** search
- :************************************************************
- :* File Id. ZTPCW.BAT *
- :* Date Written. 15 Oct. 90. *
- :* *
- :* (c) Copyright 1990 by Stan Milam *
- :* *
- :* Batch file to create small medium and large libraries for*
- :* PC Windows using Turbo C. Medium memory model is the *
- :* default. *
- :* *
- :* Calls: ZTPCW.BAT *
- :* *
- :************************************************************
- echo off
- cls
- if %1model == smodel goto small
- if %1model == Smodel goto small
- if %1model == cmodel goto compact
- if %1model == Cmodel goto compact
- if %1model == lmodel goto large
- if %1model == Lmodel goto large
- :
- :***************************************************************
- :* *
- :* MEDIUM *
- :* *
- :***************************************************************
- :
- echo Building Medium Memory Model Library: ..\ZTPCWMM.LIB
- command /c ztpcw mm
- goto end
- :
- :***************************************************************
- :* *
- :* SMALL *
- :* *
- :***************************************************************
- :
- :small
- echo Building Small Memory Model Library: ..\ZTPCWMS.LIB
- command /c ztpcw ms
- goto end
- :
- :***************************************************************
- :* *
- :* COMPACT *
- :* *
- :***************************************************************
- :
- :small
- echo Building Small Memory Model Library: ..\ZTPCWMC.LIB
- command /c ztpcw mc
- goto end
-
- :
- :***************************************************************
- :* *
- :* LARGE *
- :* *
- :***************************************************************
- :large
- echo Building Large Memory Model Library: ..\ZTPCWML.LIB
- command /c ztpcw ml
- :end
- echo
-