task.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 start
  3. if "%1" == "32" goto start
  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: task 16
  11. echo for 32m, usage: task 32
  12. echo **********************
  13. cd task
  14. goto end
  15. REM===================================================================
  16. :start
  17. del mipsel-elflibtask_8202.a
  18. del task*.a
  19. del mipsint*.*
  20. cd task
  21. make
  22. copy libtask.a ..mipsel-elflibtask_8202.a
  23. if not exist libtask.a goto failed
  24. goto end
  25. REM ======================================
  26. :failed
  27. echo *************************
  28. echo failed on generating libtask.a
  29. REM ======================================
  30. :end
  31. cd..