2 rem Author: Rene' Jager
3 rem Update: June 11, 1993
4 rem Info: utility for making Microsoft C MAKE-file
5 rem or making one of the RICE examples:
7 rem %2 : source file extension
9 rem %4 : compiler directory
10 rem %5-%9 : extra compiler options
12 echo %1.exe: %1.obj > makefile
13 echo link /STACK:10000 @response >> makefile
15 echo %1.obj > response
18 echo ..\lib\rice%3.lib+ >> response
19 echo %4\lib\%4libce.lib+ >> response
20 echo %4\lib\graphics.lib+ >> response
21 echo %4\lib\oldnames.lib; >> response
25 echo %1.obj: %1.%2 >> makefile
26 if X%1X==Xsimple3xX echo copy simple3x.lnk rice.lnk >> makefile
27 if X%1X==Xsimple3xX echo copy simple3x.cod rice.cod >> makefile
28 echo cl /c /A%3 /I%4\include /I..\include %5 %6 %7 %8 %9 %1.%2 >> makefile
29 if X%1X==Xsimple3xX echo del rice.lnk >> makefile
30 if X%1X==Xsimple3xX echo del rice.cod >> makefile