diff options
author | David Walter Seikel | 2012-01-24 15:09:15 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-01-24 15:09:15 +1000 |
commit | d4ab03aefb73b5e0b5316b9dbfd094a1dfe27b57 (patch) | |
tree | ae465124ad8435900df1ab77728dd53f4f34833f | |
parent | Update to latest lemon, and actually use our local copy. (diff) | |
download | SledjHamr-d4ab03aefb73b5e0b5316b9dbfd094a1dfe27b57.zip SledjHamr-d4ab03aefb73b5e0b5316b9dbfd094a1dfe27b57.tar.gz SledjHamr-d4ab03aefb73b5e0b5316b9dbfd094a1dfe27b57.tar.bz2 SledjHamr-d4ab03aefb73b5e0b5316b9dbfd094a1dfe27b57.tar.xz |
Add an overall build script.
-rwxr-xr-x | build.sh | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..306eded --- /dev/null +++ b/build.sh | |||
@@ -0,0 +1,65 @@ | |||
1 | #! /bin/bash | ||
2 | |||
3 | wd=$(pwd) | ||
4 | |||
5 | echo "_______________ BUILDING LuaJIT _______________" | ||
6 | cd libraries/luajit-2.0 | ||
7 | make | ||
8 | |||
9 | |||
10 | echo "_______________ BUILDING luaproc _______________" | ||
11 | cd $wd/libraries/luaproc | ||
12 | make | ||
13 | |||
14 | |||
15 | echo "_______________ BUILDING lemon _______________" | ||
16 | cd $wd/libraries/lemon | ||
17 | rm -f *.o lemon | ||
18 | |||
19 | CFLAGS="-g -Wall -I include $CFLAGOPTS" | ||
20 | LDFLAGS="-L lib -L /usr/lib -L /lib" | ||
21 | LFLAGS="-d" | ||
22 | |||
23 | names="lemon" | ||
24 | objects="" | ||
25 | for i in $names | ||
26 | do | ||
27 | command="gcc $CFLAGS -c -o ../$i.o $i.c" | ||
28 | echo $command | ||
29 | $command | ||
30 | objects="$objects ../$i.o" | ||
31 | done | ||
32 | command="gcc $CFLAGS -o lemon $objects $LDFLAGS $libs" | ||
33 | echo $command | ||
34 | $command | ||
35 | |||
36 | |||
37 | echo "_______________ BUILDING eina _______________" | ||
38 | cd $wd/libraries/eina | ||
39 | |||
40 | |||
41 | echo "_______________ BUILDING eet _______________" | ||
42 | cd $wd/libraries/eet | ||
43 | |||
44 | |||
45 | echo "_______________ BUILDING evas _______________" | ||
46 | cd $wd/libraries/evas | ||
47 | |||
48 | |||
49 | echo "_______________ BUILDING ecore _______________" | ||
50 | cd $wd/libraries/ecore | ||
51 | |||
52 | |||
53 | echo "_______________ BUILDING embryo _______________" | ||
54 | cd $wd/libraries/embryo | ||
55 | |||
56 | |||
57 | echo "_______________ BUILDING edje _______________" | ||
58 | cd $wd/libraries/edje | ||
59 | |||
60 | |||
61 | echo "_______________ BUILDING LuaSL _______________" | ||
62 | cd $wd/LuaSL | ||
63 | ./build.sh | ||
64 | |||
65 | |||