home *** CD-ROM | disk | FTP | other *** search
- @echo Note: Becareful that any existing object modules have been compiled
- @echo with for the same memory model as you are building.
- @pause
- @if %1x == x goto error
- copy model.%1 model
- set mwtemp=%INCLUDE%
- set INCLUDE=..\..\..\inc
- if not exist co_drive.obj masm /Mx ..\co_drive.asm;
- if not exist dv_drive.obj masm /Mx ..\dv_drive.asm;
- if not exist gr_drive.obj masm /Mx ..\gr_drive.asm;
- if not exist in_drive.obj masm /Mx ..\in_drive.asm;
- if not exist kb_drive.obj masm /Mx ..\kb_drive.asm;
- if not exist ms_drive.obj masm /Mx ..\ms_drive.asm;
- if not exist pr_drive.obj masm /Mx ..\pr_drive.asm;
- if not exist sc_drive.obj masm /Mx ..\sc_drive.asm;
- if not exist sy_drive.obj masm /Mx ..\sy_drive.asm;
- if not exist co_handl.obj hc -c -I..\..\..\inc -c -M%1 ..\co_handl.c
- if not exist gr_handl.obj hc -c -I..\..\..\inc -c -M%1 ..\gr_handl.c
- if not exist kb_handl.obj hc -c -I..\..\..\inc -c -M%1 ..\kb_handl.c
- if not exist pr_handl.obj hc -c -I..\..\..\inc -c -M%1 ..\pr_handl.c
- if not exist sc_handl.obj hc -c -I..\..\..\inc -c -M%1 ..\sc_handl.c
- if not exist si_handl.obj hc -c -I..\..\..\inc -c -M%1 ..\si_handl.c
- if not exist sy_handl.obj hc -c -I..\..\..\inc -c -M%1 ..\sy_handl.c
- if not exist in_handl.obj hc -c -I..\..\..\inc -c -M%1 ..\in_handl.c
- if not exist ms_handl.obj hc -c -I..\..\..\inc -c -M%1 ..\ms_handl.c
- lib @..\mkibmlib.lnk
- mv temp.lib ..\..\..\lib\ibmlib%1.lib
- set INCLUDE=%mwtemp%
- set mwtemp=
- @goto end
- :error
- @echo Please enter which library model to make.
- @echo s = small memory model.
- @echo m = medium memory model.
- @echo l = large memory model.
- @echo b = big memory model.
- @echo c = compact memory model.
- @echo For example: recomp s
- :end
-