task.bat
上传用户:caisangzi8
上传日期:2013-10-25
资源大小:15756k
文件大小:1k
- echo off
- if "%1" == "16" goto start
- if "%1" == "32" goto start
- if "%1" == "" goto bad_parameter
- goto bad_parameter
- REM===================================================================
- :bad_parameter
- echo **********************
- echo bad parameter
- echo for 16m, usage: task 16
- echo for 32m, usage: task 32
- echo **********************
- cd task
- goto end
- REM===================================================================
- :start
- del mipsel-elflibtask_8202.a
- del task*.a
- del mipsint*.*
- cd task
- make
- copy libtask.a ..mipsel-elflibtask_8202.a
- if not exist libtask.a goto failed
- goto end
- REM ======================================
- :failed
- echo *************************
- echo failed on generating libtask.a
- REM ======================================
- :end
- cd..