aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/libraries/build.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 23:43:36 +1000
committerDavid Walter Seikel2016-03-28 23:43:36 +1000
commitc616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614 (patch)
tree816e2be732bea46bd3bc773cd6df0f4623953415 /src/libraries/build.lua
parentMove some scripts to the bin directory. (diff)
downloadSledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.zip
SledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.tar.gz
SledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.tar.bz2
SledjHamr-c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614.tar.xz
Move executables to the bin directory.
Diffstat (limited to 'src/libraries/build.lua')
-rwxr-xr-xsrc/libraries/build.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libraries/build.lua b/src/libraries/build.lua
index d0c0b46..ceb7771 100755
--- a/src/libraries/build.lua
+++ b/src/libraries/build.lua
@@ -21,7 +21,7 @@ CFLAGS = CFLAGS .. ' -DPACKAGE_LOCALE_DIR=\\"' .. locale_d .. '\\"'
21 21
22LDFLAGS = '-L ' .. dir .. ' ' .. LDFLAGS 22LDFLAGS = '-L ' .. dir .. ' ' .. LDFLAGS
23 23
24removeFiles(dir, {'LumbrJack.o', lib_d .. '/libLumbrJack.so', 'Runnr.o', lib_d .. '/libRunnr.so', 'SledjHamr.o', lib_d .. '/libSledjHamr.so', '../../media/winFang.edj', 'winFang.o', lib_d .. '/libwinFang.so'}) 24removeFiles(dir, {'LumbrJack.o', lib_d .. '/libLumbrJack.so', 'Runnr.o', lib_d .. '/libRunnr.so', 'SledjHamr.o', lib_d .. '/libSledjHamr.so', data_d .. '/winFang.edj', 'winFang.o', lib_d .. '/libwinFang.so'})
25 25
26runCommand('C libraries', dir, 'gcc ' .. CFLAGS .. ' -fPIC -c LumbrJack.c') 26runCommand('C libraries', dir, 'gcc ' .. CFLAGS .. ' -fPIC -c LumbrJack.c')
27runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libLumbrJack.so -o ' .. lib_d .. '/libLumbrJack.so LumbrJack.o') 27runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libLumbrJack.so -o ' .. lib_d .. '/libLumbrJack.so LumbrJack.o')
@@ -33,6 +33,6 @@ runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libRunnr.so -o
33runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -fPIC -c SledjHamr.c') 33runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -fPIC -c SledjHamr.c')
34runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libSledjHamr.so -o ' .. lib_d .. '/libSledjHamr.so SledjHamr.o') 34runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libSledjHamr.so -o ' .. lib_d .. '/libSledjHamr.so SledjHamr.o')
35 35
36runCommand(nil, dir, 'edje_cc ' .. EDJE_FLAGS .. ' winFang.edc ../../media/winFang.edj') 36runCommand(nil, dir, 'edje_cc ' .. EDJE_FLAGS .. ' winFang.edc ' .. data_d .. '/winFang.edj')
37runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -fPIC -c winFang.c') 37runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -fPIC -c winFang.c')
38runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libwinFang.so -o ' .. lib_d .. '/libwinFang.so winFang.o') 38runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libwinFang.so -o ' .. lib_d .. '/libwinFang.so winFang.o')