2019-03-03 16:22:55 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
cd lib
|
2019-04-03 12:09:04 +02:00
|
|
|
echo ============= we are in $PWD
|
2019-03-03 16:22:55 +01: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 12:09:04 +02:00
|
|
|
echo
|
2019-03-03 16:22:55 +01:00
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd funcs
|
2019-04-03 12:09:04 +02:00
|
|
|
echo ============= we are in $PWD
|
2019-03-03 16:22:55 +01: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 12:09:04 +02:00
|
|
|
echo
|
2019-03-03 16:22:55 +01:00
|
|
|
cd ..
|
|
|
|
|
|
|
|
cd tools
|
|
|
|
echo
|
|
|
|
make fimg2pnm addtga2fimg mkfimg png2fimg fimgstats fimg2png
|
|
|
|
error=$?
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
echo
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|