Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
1.0 KiB

  1. echo off
  2. :origin
  3. :noshort
  4. if "%1"=="-u" goto update
  5. if "%1"=="-e" goto doecho
  6. if "%1"=="-k" goto nobreak
  7. if "%1"=="" goto breakok
  8. echo usage: kmake {-u}{-e}{-k}
  9. goto finis
  10. :update
  11. :realupd
  12. echo *** Updating From Net
  13. ssync
  14. echo *** Update Complete
  15. :nonetfile
  16. shift
  17. goto origin
  18. :nobreak
  19. del z-.msg
  20. ren z.msg z-.msg
  21. echo *** Starting Make. Make will not stop for compiler errors (DEBUG OFF)
  22. make -k "AINC = c:\lib" "CLIB = c:\lib" "DFLAGS = -DKANJI -DCRLF -UMSDOS -UM_I86MM -UM_I86" >z.msg
  23. goto finis
  24. :doecho
  25. echo *** Starting Make. Make will not stop for compiler errors (DEBUG OFF)
  26. make -k "AINC = c:\lib" "CLIB = c:\lib" "DFLAGS = -DKANJI -DCRLF -UMSDOS -UM_I86MM -UM_I86"
  27. echo on
  28. goto realfinis
  29. :breakok
  30. del z-.msg
  31. ren z.msg z-.msg
  32. echo *** Starting Make. MAKE WILL STOP FOR ALL ERRORS (DEBUG OFF)
  33. make "AINC = c:\lib" "CLIB = c:\lib" "DFLAGS = -DKANJI -DCRLF -UMSDOS -UM_I86MM -UM_I86" >z.msg
  34. :finis
  35. echo on
  36. :realfinis
  37. if ERRORLEVEL 1 goto badend
  38. echo *** Make complete.
  39. goto theend
  40. :badend
  41. echo *** Errors found during make. 
  42. :theend