38 lines
538 B
Bash
38 lines
538 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
# ------------------------------------------------------------------
|
||
|
|
||
|
function build
|
||
|
{
|
||
|
echo ============= $1 ==============
|
||
|
curdir=${PWD}
|
||
|
cd $1
|
||
|
make t
|
||
|
error=$?
|
||
|
cd ${curdir}
|
||
|
|
||
|
if [ ${error} -ne 0 ]
|
||
|
then
|
||
|
echo === error on $1 = ${error}
|
||
|
exit
|
||
|
fi
|
||
|
}
|
||
|
|
||
|
# ------------------------------------------------------------------
|
||
|
|
||
|
build files
|
||
|
build ui
|
||
|
build audio
|
||
|
|
||
|
# ------------------------------------------------------------------
|
||
|
|
||
|
printf "\n...final...\n"
|
||
|
make
|
||
|
|
||
|
# ------------------------------------------------------------------
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|