home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / C / DMAKE37S.ZIP / DMAKE / MAKE.CMD < prev    next >
Encoding:
Text File  |  1991-03-02  |  1.1 KB  |  45 lines

  1. echo off
  2. rem  *** This is the make command file that is used under OS/2 to make the
  3. rem  *** first version of dmake.  It isn't pretty but it does work, assuming
  4. rem  *** the compilers have been correctly setup.
  5. rem
  6. echo Running make.cmd script to make a %1 copy of dmake.
  7.  
  8. if %0%1 == %0 goto error
  9. if %1 == msc40 goto mkmsc40
  10. if %1 == msc50 goto mkmsc50
  11. if %1 == msc51 goto mkmsc51
  12. if %1 == msc60 goto mkmsc60
  13.  
  14. rem label the possible DOS variations for dmake here.
  15. :error
  16. echo OS/2 INDEX:  You must specify one of:
  17. echo    msc40    - Microsoft C 4.0 compile.
  18. echo    msc50    - Microsoft C 5.0 compile.
  19. echo    msc51    - Microsoft C 5.1 compile.
  20. echo    msc60    - Microsoft C 6.0 compile.
  21. goto end
  22.  
  23. rem This is the script that makes dmake using Microsoft C 4.0
  24. :mkmsc40
  25. os2\mscdos\mk40.cmd
  26. goto end
  27.  
  28. rem This is the script that makes dmake using Microsoft C 5.0
  29. :mkmsc50
  30. os2\mscdos\mk50.cmd
  31. goto end
  32.  
  33. rem This is the script that makes dmake using Microsoft C 5.1
  34. :mkmsc51
  35. os2\mscdos\mk51.cmd
  36. goto end
  37.  
  38. rem This is the script that makes dmake using Microsoft C 6.0
  39. :mkmsc60
  40. os2\mscdos\mk60.cmd
  41. goto end
  42.  
  43. rem All done!
  44. :end
  45.