4 rem Author: Rene' Jager
5 rem Date: June 11, 1993
6 rem Info: Batch-file for building a makefile for one of the RICE examples.
7 rem The Borland and Microsoft directory are set to \borlandc and
8 rem \c700; do a global search-and-replace to adjust... Also the
9 rem memory models (for bcc and msc) are set to large (l and L);
10 rem replace if other memory model wanted...
12 if X%2X==XgameX goto compiler
13 if X%2X==XminimalX goto compiler
14 if X%2X==XsimpleX goto compiler
15 if X%2X==XsimpleecX goto compiler
16 if X%2X==XsimpleppX goto compiler
17 if X%2X==Xsimple3xX goto compiler
21 if X%1X==XbccX goto bcc
22 if X%1X==XgccX goto gcc
23 if X%1X==XmscX goto msc
27 if X%2X==XgameX call mkprgbcc %2 c l \borlandc
28 if X%2X==XminimalX call mkprgbcc %2 c l \borlandc
29 if X%2X==XsimpleX call mkprgbcc %2 c l \borlandc
30 if X%2X==XsimpleecX call mkprgbcc %2 c l \borlandc
31 if X%2X==XsimpleppX call mkprgbcc %2 cpp l \borlandc
32 if X%2X==Xsimple3xX call mkprgbcc %2 c l \borlandc -I..\upgrade -DRICE_UPGRADE
36 if X%2X==XgameX call mkprggcc %2 c
37 if X%2X==XminimalX call mkprggcc %2 c
38 if X%2X==XsimpleX call mkprggcc %2 c
39 if X%2X==XsimpleecX call mkprggcc %2 c
40 if X%2X==XsimpleppX call mkprggcc %2 cxx
41 if X%2X==Xsimple3xX call mkprggcc %2 c -I ../upgrade -DRICE_UPGRADE
45 if X%2X==XgameX call mkprgmsc %2 c L \c700
46 if X%2X==XminimalX call mkprgmsc %2 c L \c700
47 if X%2X==XsimpleX call mkprgmsc %2 c L \c700
48 if X%2X==XsimpleecX call mkprgmsc %2 c L \c700
49 if X%2X==XsimpleppX call mkprgmsc %2 cpp L \c700
50 if X%2X==Xsimple3xX call mkprgmsc %2 c L \c700 /I..\upgrade /DRICE_UPGRADE
56 if X%1%3X==XmscX nmake
62 echo Use: MakeProg compiler program [make]
63 echo compiler = bcc, gcc or msc
64 echo program = game, minimal, simple, simpleec, simplepp or simple3x
65 echo make = your make utility