blob: 28c03f7b8a5e76ee806e6ef993e373f65ce9f15c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#! /bin/bash
wd=$(pwd)
echo "_______________ BUILDING lemon _______________"
cd $wd/libraries/lemon
rm -f *.o lemon
CFLAGS="-g -Wall -I include $CFLAGOPTS"
LDFLAGS="-L lib -L /usr/lib -L /lib"
LFLAGS="-d"
names="lemon"
objects=""
for i in $names
do
command="gcc $CFLAGS -c -o $i.o $i.c"
echo $command
$command
objects="$objects $i.o"
done
command="gcc $CFLAGS -o lemon $objects $LDFLAGS $libs"
echo $command
$command
echo "_______________ BUILDING Irrlicht _______________"
cd $wd/libraries/irrlicht-1.8.1/source/Irrlicht
make
echo "_______________ BUILDING LuaSL _______________"
cd $wd/LuaSL
./build.sh
echo "_______________ BUILDING GuiLua _______________"
cd $wd/ClientHamr/GuiLua
./build.sh
echo "_______________ BUILDING extantz _______________"
cd $wd/ClientHamr/extantz
./build.sh
|