home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast2.iso / c / pcw_c.zip / ZTMAKE.BAT < prev    next >
DOS Batch File  |  1991-05-14  |  3KB  |  66 lines

  1. :************************************************************
  2. :* File Id.                  ZTPCW.BAT                      *
  3. :* Date Written.             15 Oct. 90.                    *
  4. :*                                                          *
  5. :*           (c) Copyright 1990 by Stan Milam               *
  6. :*                                                          *
  7. :* Batch file to create small medium and large libraries for*
  8. :* PC Windows using Turbo C.   Medium memory model is the   *
  9. :* default.                                                 *
  10. :*                                                          *
  11. :* Calls:  ZTPCW.BAT                                        *
  12. :*                                                          *
  13. :************************************************************
  14. echo off
  15. cls
  16. if %1model == smodel goto small
  17. if %1model == Smodel goto small
  18. if %1model == cmodel goto compact
  19. if %1model == Cmodel goto compact
  20. if %1model == lmodel goto large
  21. if %1model == Lmodel goto large
  22. :
  23. :***************************************************************
  24. :*                                                             *
  25. :*                            MEDIUM                           *
  26. :*                                                             *
  27. :***************************************************************
  28. :
  29. echo Building Medium Memory Model Library: ..\ZTPCWMM.LIB
  30. command /c ztpcw mm
  31. goto end
  32. :
  33. :***************************************************************
  34. :*                                                             *
  35. :*                            SMALL                            *
  36. :*                                                             *
  37. :***************************************************************
  38. :
  39. :small
  40. echo Building Small Memory Model Library: ..\ZTPCWMS.LIB
  41. command /c ztpcw ms
  42. goto end
  43. :
  44. :***************************************************************
  45. :*                                                             *
  46. :*                           COMPACT                           *
  47. :*                                                             *
  48. :***************************************************************
  49. :
  50. :small
  51. echo Building Small Memory Model Library: ..\ZTPCWMC.LIB
  52. command /c ztpcw mc
  53. goto end
  54.  
  55. :
  56. :***************************************************************
  57. :*                                                             *
  58. :*                            LARGE                            *
  59. :*                                                             *
  60. :***************************************************************
  61. :large
  62. echo Building Large Memory Model Library: ..\ZTPCWML.LIB
  63. command /c ztpcw ml
  64. :end
  65. echo  
  66.