task.bat
资源名称:8202s.rar [点击查看]
上传用户:poi891205
上传日期:2013-07-15
资源大小:9745k
文件大小:1k
源码类别:
DVD
开发平台:
C/C++
- 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..