home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / VISBUILD / VBREMOTE / BUILD.CMD next >
OS/2 REXX Batch file  |  1995-05-18  |  547b  |  32 lines

  1. /*REXX*/
  2.  
  3. dllName = "cppov43"
  4. progName = "VBREMOTE"
  5.  
  6. /* build the dll */
  7. cd ".\"dllName
  8. nmake "/a /f" dllName".mak"
  9. cd '..'
  10.  
  11. SAY 'DLL Build completed with rc='rc
  12.  
  13. if rc=0 then do
  14.  
  15.   /* setup the include and library paths to pickup the DLL */
  16.   set "INCLUDE=.\"dllName";%INCLUDE%"
  17.   set "LIB=.\"dllName";%LIB%"
  18.   /* build with the makefile generated by the Visual Builder */
  19.   nmake "/a /f" progName".MAK"
  20.   SAY 'Build completed with rc='rc
  21.   call Done(rc);
  22.  
  23. end
  24. else call Done(rc)
  25.  
  26.  
  27. Done:
  28. arg exitRc
  29. exit(exitRc)
  30.  
  31.  
  32.