home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Pascal / BPASCAL.700 / D12 / GREP.ZIP / MAKE.BAT next >
Encoding:
DOS Batch File  |  1992-10-01  |  853 b   |  36 lines

  1. echo off
  2.  
  3. rem *************************************************
  4. rem *                            *
  5. rem *  Grep/C DLL demos                             *
  6. rem *  Copyright (c) 1992 by Borland International  *
  7. rem *                            *
  8. rem *************************************************
  9.  
  10. rem --- Make REGEXP.DLL --------------------------------------------
  11. if exist regexp.dll goto dllmade
  12. cd dll
  13. make
  14. if errorlevel 1 goto error
  15. copy regexp.dll ..
  16. cd ..
  17. :dllmade
  18.  
  19. rem --- Make TVGREP.EXE --------------------------------------------
  20. cd tv
  21. bpc -cp -m -u..;\bp\examples\dos\tvdemo tvgrep
  22. if errorlevel 1 goto error
  23. copy tvgrep.exe ..
  24. cd ..
  25.  
  26. rem --- Make OWLGREP.EXE -------------------------------------------
  27. cd owl
  28. brc -r owlgrep.rc
  29. if errorlevel 1 goto error
  30. bpc -cw -m -u.. owlgrep
  31. if errorlevel 1 goto error
  32. copy owlgrep.exe ..
  33. cd ..
  34.  
  35. :error
  36.