home *** CD-ROM | disk | FTP | other *** search
- :************************************************************
- :* File Id. MAKEPCW.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 Power C V2.0. Medium memory model is the*
- :* default. *
- :* *
- :* Calls: PCPCW.BAT *
- :* *
- :************************************************************
- @echo off
- cls
- if %1model == smodel goto small
- if %1model == Smodel goto small
- if %1model == lmodel goto large
- if %1model == Lmodel goto large
- :
- :***************************************************************
- :* *
- :* MEDIUM *
- :* *
- :***************************************************************
- :
- echo Building Medium Memory Model Library: ..\PCPCWMM.LIB
- command /c pcpcw mm
- goto end
- :
- :***************************************************************
- :* *
- :* SMALL *
- :* *
- :***************************************************************
- :
- :small
- echo Building Small Memory Model Library: ..\PCPCWMS.LIB
- command /c pcpcw ms
- goto end
- :
- :***************************************************************
- :* *
- :* LARGE *
- :* *
- :***************************************************************
- :large
- echo Building Large Memory Model Library: ..\PCPCWML.LIB
- command /c pcpcw ml
- :end
- Echo
-