home *** CD-ROM | disk | FTP | other *** search
/ Borland Programmer's Resource / Borland_Programmers_Resource_CD_1995.iso / utils / 6plus / winner.bat < prev    next >
DOS Batch File  |  1995-05-18  |  483b  |  36 lines

  1.  
  2. if %1 == c goto CLEAN
  3. if %1 == b goto BUILD
  4. if %1 == a goto BUILDALL
  5. title COMPILE
  6. hc31 %1 >buildres.ult 2>&1
  7. goto end
  8. :CLEAN
  9. title CLEANING
  10. del *.vcw
  11. del *.pdb
  12. del *.bsc
  13. del *.pch
  14. del *.sbr
  15. del *wsp
  16. del *.obj
  17. del *.rbj
  18. del *.res
  19. del *.ult
  20. del *.ph
  21. del *.map
  22. goto end2
  23. :BUILD
  24. title BUILDIN'
  25. nmake >buildres.ult 2>&1
  26. goto end
  27. :BUILDALL
  28. title BUILDALL
  29. nmake -a NODEBUG=1>buildres.ult 2>&1
  30. :END
  31. title CMD
  32. winner.exe buildres.ult
  33. :END2
  34. title CMD
  35. exit
  36.