home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / VISBUILD / RAPSHEET / BUILD.CMD next >
OS/2 REXX Batch file  |  1995-06-01  |  655b  |  40 lines

  1. /*REXX*/
  2.  
  3.  
  4. say
  5. say 'DO NOT ATTEMPT TO BUILD THIS APPLICATION AT THIS TIME!!!';
  6. say
  7.  
  8. /*
  9. dllName = "cppov23"
  10. progName = "RPMNVIEW"
  11.  
  12. /* build the dll */
  13. cd ".\"dllName
  14. nmake "/a /f" dllName".mak"
  15. bldrc=rc
  16. cd '..'
  17.  
  18. SAY 'DLL Build completed with rc='bldrc
  19.  
  20. if bldrc=0 then do
  21.  
  22.   /* setup the include and library paths to pickup the DLL */
  23.   set "INCLUDE=.;.\"dllName";%INCLUDE%"
  24.   set "LIB=.\"dllName";%LIB%"
  25.   /* build with the makefile generated by the Visual Builder */
  26.   nmake "/a /f" progName".MAK"
  27.   SAY 'Build completed with rc='rc
  28.   call Done(rc);
  29.  
  30. end
  31. else call Done(bldrc)
  32. */
  33.  
  34.  
  35. Done:
  36. arg exitRc
  37. exit(exitRc)
  38.  
  39.  
  40.