auth.bat
Upload User: caisangzi8
Upload Date: 2013-10-25
Package Size: 15756k
Code Size: 1k
Category:

DVD

Development Platform:

C/C++

  1. echo off
  2. if "%1" == "16" goto sdram16
  3. if "%1" == "32" goto sdram32
  4. if "%1" == "" goto bad_parameter
  5. goto bad_parameter
  6. REM===================================================================
  7. :bad_parameter
  8. echo **********************
  9. echo bad parameter
  10. echo for 16m, usage: auth 16
  11. echo for 32m, usage: aauth 32
  12. echo **********************
  13. cd auth
  14. goto end
  15. REM===================================================================
  16. REM ==========================================
  17. :sdram16
  18. del auth*.a
  19. del mipsel-elflibauth_16.a
  20. cd auth
  21. make
  22. copy libauth.a ..mipsel-elflibauth_16.a
  23. if not exist libauth.a goto failed
  24. goto end
  25. REM ==========================================
  26. REM ==========================================
  27. :sdram32
  28. del auth*.a
  29. del mipsel-elflibauth_8202.a
  30. cd auth
  31. make
  32. copy libauth.a ..mipsel-elflibauth_8202.a
  33. if not exist libauth.a goto failed
  34. goto end
  35. REM ==========================================
  36. REM ======================================
  37. :failed
  38. echo *************************
  39. echo failed on generating libauth.a
  40. REM ======================================
  41. :end
  42. cd..