aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--.gitignore3
-rwxr-xr-xLuaSL/build.sh13
2 files changed, 8 insertions, 8 deletions
diff --git a/.gitignore b/.gitignore
index 5235e94..f9743a0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
1*.edj 1*.edj
2*.o 2*.o
3LuaSL/src/LuaSL 3LuaSL/LuaSL
4
diff --git a/LuaSL/build.sh b/LuaSL/build.sh
index 206f3c0..29558dd 100755
--- a/LuaSL/build.sh
+++ b/LuaSL/build.sh
@@ -1,9 +1,10 @@
1#! /bin/bash 1#! /bin/bash
2 2
3cd src
4 3
5export LOCALDIR=`pwd` 4export LOCALDIR=`pwd`
6 5
6cd src
7
7if [ -d "/opt/e17" ] 8if [ -d "/opt/e17" ]
8then 9then
9 export E17DIR="/opt/e17" 10 export E17DIR="/opt/e17"
@@ -13,7 +14,7 @@ fi
13 14
14# No need for a make file, or dependencies, the entire thing takes only a few seconds to build. 15# No need for a make file, or dependencies, the entire thing takes only a few seconds to build.
15 16
16CFLAGS="-g -Wall -I include -I $LOCALDIR" 17CFLAGS="-g -Wall -I include -I $LOCALDIR/src"
17CFLAGS="$CFLAGS -I $E17DIR/include/eina-1" 18CFLAGS="$CFLAGS -I $E17DIR/include/eina-1"
18CFLAGS="$CFLAGS -I $E17DIR/include/eina-1/eina" 19CFLAGS="$CFLAGS -I $E17DIR/include/eina-1/eina"
19CFLAGS="$CFLAGS -I $E17DIR/include/eet-1" 20CFLAGS="$CFLAGS -I $E17DIR/include/eet-1"
@@ -51,20 +52,20 @@ names="LuaSL_main LuaSL_utilities"
51EDJE_FLAGS="-id images -fd fonts" 52EDJE_FLAGS="-id images -fd fonts"
52 53
53rm -f LuaSL *.o *.edj 54rm -f LuaSL *.o *.edj
54command="edje_cc $EDJE_FLAGS LuaSL.edc LuaSL.edj" 55command="edje_cc $EDJE_FLAGS LuaSL.edc ../LuaSL.edj"
55echo $command 56echo $command
56$command 57$command
57 58
58objects="" 59objects=""
59for i in $names 60for i in $names
60do 61do
61 command="gcc $CFLAGS -c -o $i.o $i.c" 62 command="gcc $CFLAGS -c -o ../$i.o $i.c"
62 echo $command 63 echo $command
63 $command 64 $command
64 objects="$objects $i.o" 65 objects="$objects ../$i.o"
65done 66done
66 67
67command="gcc $CFLAGS -o LuaSL $objects $LDFLAGS $libs" 68command="gcc $CFLAGS -o ../LuaSL $objects $LDFLAGS $libs"
68echo $command 69echo $command
69$command 70$command
70 71