home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c222 / 1.ddi / SOURCE / IBMLIB / DX86_O / COMP.BAT next >
Encoding:
DOS Batch File  |  1991-01-18  |  1.1 KB  |  37 lines

  1. @if %1x == x goto error
  2. copy model.%1 model
  3. set mwtemp=%INCLUDE%
  4. set INCLUDE=..\..\..\inc
  5. masm /Mx ..\co_drive.asm;
  6. masm /Mx ..\dv_drive.asm;
  7. masm /Mx ..\gr_drive.asm;
  8. masm /Mx ..\in_drive.asm;
  9. masm /Mx ..\kb_drive.asm;
  10. masm /Mx ..\ms_drive.asm;
  11. masm /Mx ..\pr_drive.asm;
  12. masm /Mx ..\sc_drive.asm;
  13. masm /Mx ..\sy_drive.asm;
  14. hc -c -I..\..\..\inc -c -M%1  ..\co_handl.c
  15. hc -c -I..\..\..\inc -c -M%1  ..\gr_handl.c
  16. hc -c -I..\..\..\inc -c -M%1  ..\kb_handl.c
  17. hc -c -I..\..\..\inc -c -M%1  ..\pr_handl.c
  18. hc -c -I..\..\..\inc -c -M%1  ..\sc_handl.c
  19. hc -c -I..\..\..\inc -c -M%1  ..\si_handl.c
  20. hc -c -I..\..\..\inc -c -M%1  ..\sy_handl.c
  21. hc -c -I..\..\..\inc -c -M%1  ..\in_handl.c
  22. hc -c -I..\..\..\inc -c -M%1  ..\ms_handl.c
  23. lib  @..\mkibmlib.lnk
  24. mv temp.lib ..\..\..\lib\ibmlib%1.lib
  25. set INCLUDE=%mwtemp%
  26. set mwtemp=
  27. @goto end
  28. :error
  29. @echo Please enter which library model to make.
  30. @echo s = small memory model.
  31. @echo m = medium memory model.
  32. @echo l = large memory model.
  33. @echo b = big memory model.
  34. @echo c = compact memory model.
  35. @echo For example:  comp s
  36. :end
  37.