2019-03-04 02:22:55 +11:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd lib
|
2019-04-03 21:09:04 +11:00
|
|
|
echo ============= we are in $PWD
|
2019-03-04 02:22:55 +11:00
|
|
|
make
|
|
|
|
error=$?
|
|
|
|
if [ 0 -ne $error ]; then
|
|
|
|
printf "in %s err %d in %s\n" $PWD $error $0
|
|
|
|
exit $error
|
|
|
|
fi
|
2019-04-03 21:09:04 +11:00
|
|
|
echo
|
2019-03-04 02:22:55 +11:00
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd funcs
|
2019-04-03 21:09:04 +11:00
|
|
|
echo ============= we are in $PWD
|
2019-03-04 02:22:55 +11:00
|
|
|
make
|
|
|
|
error=$?
|
|
|
|
if [ 0 -ne $error ]; then
|
|
|
|
printf "in %s err %d in %s\n" $PWD $error $0
|
|
|
|
exit $error
|
|
|
|
fi
|
2019-04-03 21:09:04 +11:00
|
|
|
echo
|
2019-03-04 02:22:55 +11:00
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd tools
|
|
|
|
echo
|
|
|
|
make fimg2pnm addtga2fimg mkfimg png2fimg fimgstats fimg2png
|
|
|
|
error=$?
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|