home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / VSCPPv8.zip / VACPP / IBMCPP / samples / VISBUILD / CALCULAT / BUILD.CMD < prev    next >
OS/2 REXX Batch file  |  1995-05-19  |  566b  |  33 lines

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