diff options
author | David Walter Seikel | 2016-03-28 23:43:36 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-03-28 23:43:36 +1000 |
commit | c616d02cb6193e41ea6d0d1bbc98bc3b6c1b8614 (patch) | |
tree | 816e2be732bea46bd3bc773cd6df0f4623953415 /src/libraries/build.lua | |
parent | Move some scripts to the bin directory. (diff) | |
download | SledjHamr-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-x | src/libraries/build.lua | 4 |
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 | ||
22 | LDFLAGS = '-L ' .. dir .. ' ' .. LDFLAGS | 22 | LDFLAGS = '-L ' .. dir .. ' ' .. LDFLAGS |
23 | 23 | ||
24 | removeFiles(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'}) | 24 | removeFiles(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 | ||
26 | runCommand('C libraries', dir, 'gcc ' .. CFLAGS .. ' -fPIC -c LumbrJack.c') | 26 | runCommand('C libraries', dir, 'gcc ' .. CFLAGS .. ' -fPIC -c LumbrJack.c') |
27 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libLumbrJack.so -o ' .. lib_d .. '/libLumbrJack.so LumbrJack.o') | 27 | runCommand(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 | |||
33 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -fPIC -c SledjHamr.c') | 33 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -fPIC -c SledjHamr.c') |
34 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libSledjHamr.so -o ' .. lib_d .. '/libSledjHamr.so SledjHamr.o') | 34 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libSledjHamr.so -o ' .. lib_d .. '/libSledjHamr.so SledjHamr.o') |
35 | 35 | ||
36 | runCommand(nil, dir, 'edje_cc ' .. EDJE_FLAGS .. ' winFang.edc ../../media/winFang.edj') | 36 | runCommand(nil, dir, 'edje_cc ' .. EDJE_FLAGS .. ' winFang.edc ' .. data_d .. '/winFang.edj') |
37 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -fPIC -c winFang.c') | 37 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -fPIC -c winFang.c') |
38 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libwinFang.so -o ' .. lib_d .. '/libwinFang.so winFang.o') | 38 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libwinFang.so -o ' .. lib_d .. '/libwinFang.so winFang.o') |