home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / dmake40.zip / make.cmd < prev    next >
OS/2 REXX Batch file  |  1994-10-23  |  1KB  |  54 lines

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