34 lines
410 B
Bash
34 lines
410 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
cd lib
|
||
|
echo EEEEEEEEEE we are in $PWD
|
||
|
make
|
||
|
error=$?
|
||
|
if [ 0 -ne $error ]; then
|
||
|
printf "in %s err %d in %s\n" $PWD $error $0
|
||
|
exit $error
|
||
|
fi
|
||
|
cd ..
|
||
|
|
||
|
cd funcs
|
||
|
echo EEEEEEEEEE we are in $PWD
|
||
|
make
|
||
|
error=$?
|
||
|
if [ 0 -ne $error ]; then
|
||
|
printf "in %s err %d in %s\n" $PWD $error $0
|
||
|
exit $error
|
||
|
fi
|
||
|
cd ..
|
||
|
|
||
|
cd tools
|
||
|
echo
|
||
|
make fimg2pnm addtga2fimg mkfimg png2fimg fimgstats fimg2png
|
||
|
error=$?
|
||
|
cd ..
|
||
|
|
||
|
echo
|
||
|
|
||
|
|
||
|
|
||
|
|