ir.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: ir 16
  11. echo for 32m, usage: ir 32
  12. echo **********************
  13. cd ir_vfd
  14. goto end
  15. REM===================================================================
  16. :start
  17. del mipsel-elflibir_8202.a
  18. del ir_vfdlibir.a
  19. cd ir_vfd
  20. make
  21. copy libir.a ..mipsel-elflibir_8202.a
  22. if not exist libir.a goto failed
  23. goto end
  24. REM ===============================
  25. :failed
  26. echo *************************
  27. echo failed on generating libir.a
  28. REM ===============================
  29. :end
  30. cd..