#! /bin/bash if [ -e "Base" ] then cd "Base" qmake make qmake BaseStatic.pro make qmake cd .. fi if [ -e "Hall" ] then cd "Hall" qmake make make install cd .. fi if [ -e "UpdateHall" ] then cd "UpdateHall" qmake make cd .. fi if [ -e "Blackjack" ] then cd "Blackjack" qmake make cd .. fi if [ -e "Chaodip" ] then cd "Chaodip" qmake make cd .. fi if [ -e "ChineseChess" ] then cd "ChineseChess" qmake make cd .. fi if [ -e "Chudd" ] then cd "Chudd" qmake make cd .. fi if [ -e "GDMahjong" ] then cd "GDMahjong" qmake make cd .. fi if [ -e "GongZhu" ] then cd "GongZhu" qmake make cd .. fi if [ -e "GoodLuck" ] then cd "GoodLuck" qmake make cd .. fi if [ -e "Interlink" ] then cd "Interlink" qmake make cd .. fi if [ -e "LandBattle" ] then cd "LandBattle" qmake make cd .. fi if [ -e "LandLord" ] then cd "LandLord" qmake make cd .. fi if [ -e "Mahjong" ] then cd "Mahjong" qmake make cd .. fi if [ -e "NiuNiu" ] then cd "NiuNiu" qmake make cd .. fi if [ -e "Renju" ] then cd "Renju" qmake make cd .. fi if [ -e "Shisensho" ] then cd "Shisensho" qmake make cd .. fi if [ -e "Suoha" ] then cd "Suoha" qmake make cd .. fi if [ -e "Upgrade" ] then cd "Upgrade" qmake make cd .. fi if [ -e "Hall/release" ] then cd "Hall/release" rm -f *.a *.prl libBase.dylib libBase.1.dylib libBase.1.0.dylib mv libBase.1.0.0.dylib libBase.1.dylib fi