home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / rxjis096.zip / build.cmd next >
OS/2 REXX Batch file  |  1999-12-21  |  927b  |  22 lines

  1. /* Part of RXJIS                                                      */
  2. /* YANO Takashi                                                       */
  3. /* tyano@ca2.so-net.or.jp or tyano@yamato.ibm.co.jp                   */
  4. /* history:                                                           */
  5. /* 1995-2-5 0.00 initial release                                      */
  6. /* 1995-2-14 0.10 reset ICC environment vairable                      */
  7. /* 1997-8-5 0.90 source restructure                                   */
  8. arg target
  9. if pos(target, 1 'DLL ZIP') = 0 then target = 'DLL'
  10. parse source . . f
  11. parse value filespec('p', f) with p
  12. p = filespec('d', f) || left(p, length(p) - 1)
  13. call setlocal
  14. call directory p
  15. '@SET ICC=' /* A@0.10 */
  16. if target = 'ZIP' then do
  17.    call SysFileDelete 'rxjisdt.cpp'
  18.    call SysFileDelete 'rxjisdt.obj'
  19. end /* do */
  20. '@NMAKE32 -NOLOGO -F RXJIS.MAK RXJIS.' || target
  21. call endlocal
  22.