7 if [ "$1" = "clean" ] ; then
8 rm -rf *.o platform
/zexos
/*.o openchess ..
/bin
/openchess ..
/bin
/openchess.img
10 echo "All object and binary files ware deleted"
15 echo "Compilation process starting, please wait ..."
17 if [ "$1" = "linux" ] ; then
18 make -f makefile-linux
&& OK
=1
20 make -f makefile-zexos
&& OK
=1
29 echo "! Congratulations ! -- OpenChess is compiled and prepared to run"
30 echo "Please start game server over: bin/openchess"
32 echo "ERROR - Compilation fault ! Please contact authors or try update your sources"