home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c222 / 1.ddi / SOURCE / IBMLIB / DX86_O / RECOMP.BAT < prev   
Encoding:
DOS Batch File  |  1991-01-16  |  1.7 KB  |  40 lines

  1. @echo Note: Becareful that any existing object modules have been compiled
  2. @echo       with for the same memory model as you are building.
  3. @pause
  4. @if %1x == x goto error
  5. copy model.%1 model
  6. set mwtemp=%INCLUDE%
  7. set INCLUDE=..\..\..\inc
  8. if not exist co_drive.obj masm /Mx ..\co_drive.asm;
  9. if not exist dv_drive.obj masm /Mx ..\dv_drive.asm;
  10. if not exist gr_drive.obj masm /Mx ..\gr_drive.asm;
  11. if not exist in_drive.obj masm /Mx ..\in_drive.asm;
  12. if not exist kb_drive.obj masm /Mx ..\kb_drive.asm;
  13. if not exist ms_drive.obj masm /Mx ..\ms_drive.asm;
  14. if not exist pr_drive.obj masm /Mx ..\pr_drive.asm;
  15. if not exist sc_drive.obj masm /Mx ..\sc_drive.asm;
  16. if not exist sy_drive.obj masm /Mx ..\sy_drive.asm;
  17. if not exist co_handl.obj hc -c -I..\..\..\inc -c -M%1  ..\co_handl.c
  18. if not exist gr_handl.obj hc -c -I..\..\..\inc -c -M%1  ..\gr_handl.c
  19. if not exist kb_handl.obj hc -c -I..\..\..\inc -c -M%1  ..\kb_handl.c
  20. if not exist pr_handl.obj hc -c -I..\..\..\inc -c -M%1  ..\pr_handl.c
  21. if not exist sc_handl.obj hc -c -I..\..\..\inc -c -M%1  ..\sc_handl.c
  22. if not exist si_handl.obj hc -c -I..\..\..\inc -c -M%1  ..\si_handl.c
  23. if not exist sy_handl.obj hc -c -I..\..\..\inc -c -M%1  ..\sy_handl.c
  24. if not exist in_handl.obj hc -c -I..\..\..\inc -c -M%1  ..\in_handl.c
  25. if not exist ms_handl.obj hc -c -I..\..\..\inc -c -M%1  ..\ms_handl.c
  26. lib  @..\mkibmlib.lnk
  27. mv temp.lib ..\..\..\lib\ibmlib%1.lib
  28. set INCLUDE=%mwtemp%
  29. set mwtemp=
  30. @goto end
  31. :error
  32. @echo Please enter which library model to make.
  33. @echo s = small memory model.
  34. @echo m = medium memory model.
  35. @echo l = large memory model.
  36. @echo b = big memory model.
  37. @echo c = compact memory model.
  38. @echo For example:  recomp s
  39. :end
  40.