home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / OWLEXINC.PAK / BUILDALL.BAT
Encoding:
DOS Batch File  |  1997-05-06  |  1.2 KB  |  56 lines

  1. @echo off
  2. if {%mk%} == {} set __mk=1
  3. if {%mk%} == {} set mk=make.exe
  4.  
  5. echo Building All %1 %2 %3 %4
  6.  
  7. if exist    apps\NUL    cd apps
  8. call buildall %1 %2 %3 %4
  9. if errorlevel 1 set err=1
  10. if exist ..\apps\NUL    cd ..
  11.  
  12. if exist   classes\NUL  cd classes
  13. call buildall %1 %2 %3 %4
  14. if errorlevel 1 set err=1
  15. if exist ..\classes\NUL cd ..
  16.  
  17. if exist   experts\NUL  cd experts
  18. call buildall %1 %2 %3 %4
  19. if errorlevel 1 set err=1
  20. if exist ..\experts\NUL cd ..
  21.  
  22. if exist   games\NUL    cd games
  23. call buildall %1 %2 %3 %4
  24. if errorlevel 1 set err=1
  25. if exist ..\games\NUL   cd ..
  26.  
  27. if exist    ocf\NUL     cd ocf
  28. call buildall %1 %2 %3 %4
  29. if errorlevel 1 set err=1
  30. if exist  ..\ocf\NUL    cd ..
  31.  
  32. if exist   tasks\NUL    cd tasks
  33. call buildall %1 %2 %3 %4
  34. if errorlevel 1 set err=1
  35. if exist  ..\tasks\NUL  cd ..
  36.  
  37. if exist   tools\NUL    cd tools
  38. call buildall %1 %2 %3 %4
  39. if errorlevel 1 set err=1
  40. if exist  ..\tools\NUL  cd ..
  41.  
  42. if exist   tutorial\NUL cd tutorial
  43. call buildall %1 %2 %3 %4
  44. if errorlevel 1 set err=1
  45. if exist ..\tutorial\NUL cd ..
  46.  
  47. if exist   winapi\NUL   cd winapi
  48. call buildall %1 %2 %3 %4
  49. if errorlevel 1 set err=1
  50. if exist ..\winapi\NUL  cd ..
  51.  
  52. :end
  53.  
  54. if {%__mk%} == {1}  set   mk=
  55. if {%__mk%} == {1}  set __mk=
  56.