diff options
author | David Walter Seikel | 2014-04-20 15:24:46 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-20 15:24:46 +1000 |
commit | c501a8c75e6fce2e91d52f60a5454de5aa3ef8f1 (patch) | |
tree | 0c6d24aef960df463c2ed6c399aa4eb535f2e66f /build.sh | |
parent | elm_naviframe_item_title_visible_set() was deprecated, replace it. (diff) | |
download | SledjHamr-c501a8c75e6fce2e91d52f60a5454de5aa3ef8f1.zip SledjHamr-c501a8c75e6fce2e91d52f60a5454de5aa3ef8f1.tar.gz SledjHamr-c501a8c75e6fce2e91d52f60a5454de5aa3ef8f1.tar.bz2 SledjHamr-c501a8c75e6fce2e91d52f60a5454de5aa3ef8f1.tar.xz |
Convert build shell scripts to Lua, with common infrastructure.
Diffstat (limited to '')
-rwxr-xr-x | build.sh | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/build.sh b/build.sh deleted file mode 100755 index 28c03f7..0000000 --- a/build.sh +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | #! /bin/bash | ||
2 | |||
3 | wd=$(pwd) | ||
4 | |||
5 | echo "_______________ BUILDING lemon _______________" | ||
6 | cd $wd/libraries/lemon | ||
7 | rm -f *.o lemon | ||
8 | |||
9 | CFLAGS="-g -Wall -I include $CFLAGOPTS" | ||
10 | LDFLAGS="-L lib -L /usr/lib -L /lib" | ||
11 | LFLAGS="-d" | ||
12 | |||
13 | names="lemon" | ||
14 | objects="" | ||
15 | for i in $names | ||
16 | do | ||
17 | command="gcc $CFLAGS -c -o $i.o $i.c" | ||
18 | echo $command | ||
19 | $command | ||
20 | objects="$objects $i.o" | ||
21 | done | ||
22 | command="gcc $CFLAGS -o lemon $objects $LDFLAGS $libs" | ||
23 | echo $command | ||
24 | $command | ||
25 | |||
26 | echo "_______________ BUILDING Irrlicht _______________" | ||
27 | cd $wd/libraries/irrlicht-1.8.1/source/Irrlicht | ||
28 | make | ||
29 | |||
30 | echo "_______________ BUILDING LuaSL _______________" | ||
31 | cd $wd/LuaSL | ||
32 | ./build.sh | ||
33 | |||
34 | echo "_______________ BUILDING GuiLua _______________" | ||
35 | cd $wd/ClientHamr/GuiLua | ||
36 | ./build.sh | ||
37 | |||
38 | echo "_______________ BUILDING extantz _______________" | ||
39 | cd $wd/ClientHamr/extantz | ||
40 | ./build.sh | ||