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

  1. :************************************************************
  2. :* File Id.                  MSMAKE.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 Microsoft C. Medium memory model is the *
  9. :* default.                                                 *
  10. :*                                                          *
  11. :* Calls:  MSPCW.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. if %1model == hmodel goto huge
  23. if %1model == Hmodel goto huge
  24. :
  25. :***************************************************************
  26. :*                                                             *
  27. :*                            MEDIUM                           *
  28. :*                                                             *
  29. :***************************************************************
  30. :
  31. echo Building Medium Memory Model Library: ..\MSPCWAM.LIB
  32. command /c mspcw AM
  33. goto end
  34. :
  35. :***************************************************************
  36. :*                                                             *
  37. :*                            SMALL                            *
  38. :*                                                             *
  39. :***************************************************************
  40. :
  41. :small
  42. echo Building Small Memory Model Library: ..\MSPCWAS.LIB
  43. command /c mspcw AS
  44. goto end
  45. :
  46. :***************************************************************
  47. :*                                                             *
  48. :*                            COMPACT                          *
  49. :*                                                             *
  50. :***************************************************************
  51. :
  52. :compact
  53. echo Building Compact Memory Model Library: ..\MSPCWAC.LIB
  54. command /c mspcw AC
  55. goto end
  56. :
  57. :***************************************************************
  58. :*                                                             *
  59. :*                            LARGE                            *
  60. :*                                                             *
  61. :***************************************************************
  62. :large
  63. echo Building Large Memory Model Library: ..\MSPCWAL.LIB
  64. command /c mspcw AL
  65. goto end
  66. :
  67. :***************************************************************
  68. :*                                                             *
  69. :*                            HUGE                             *
  70. :*                                                             *
  71. :***************************************************************
  72. :huge
  73. echo Building Large Memory Model Library: ..\MSPCWAH.LIB
  74. command /c mspcw AH
  75. :end
  76. echo  
  77.