home *** CD-ROM | disk | FTP | other *** search
- :************************************************************
- :* File Id. MSMAKE.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 Microsoft C. Medium memory model is the *
- :* default. *
- :* *
- :* Calls: MSPCW.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
- if %1model == hmodel goto huge
- if %1model == Hmodel goto huge
- :
- :***************************************************************
- :* *
- :* MEDIUM *
- :* *
- :***************************************************************
- :
- echo Building Medium Memory Model Library: ..\MSPCWAM.LIB
- command /c mspcw AM
- goto end
- :
- :***************************************************************
- :* *
- :* SMALL *
- :* *
- :***************************************************************
- :
- :small
- echo Building Small Memory Model Library: ..\MSPCWAS.LIB
- command /c mspcw AS
- goto end
- :
- :***************************************************************
- :* *
- :* COMPACT *
- :* *
- :***************************************************************
- :
- :compact
- echo Building Compact Memory Model Library: ..\MSPCWAC.LIB
- command /c mspcw AC
- goto end
- :
- :***************************************************************
- :* *
- :* LARGE *
- :* *
- :***************************************************************
- :large
- echo Building Large Memory Model Library: ..\MSPCWAL.LIB
- command /c mspcw AL
- goto end
- :
- :***************************************************************
- :* *
- :* HUGE *
- :* *
- :***************************************************************
- :huge
- echo Building Large Memory Model Library: ..\MSPCWAH.LIB
- command /c mspcw AH
- :end
- echo
-