diff options
author | David Walter Seikel | 2014-04-22 15:28:00 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-04-22 15:28:00 +1000 |
commit | 04aad7d4781335c6abbc94a6fe677208b87dee82 (patch) | |
tree | d2a06507f345b6be52df52ded2670c5bec9d0150 /src/GuiLua/build.lua | |
parent | Move all source into the new src directory, and shuffle a few other things ar... (diff) | |
download | SledjHamr-04aad7d4781335c6abbc94a6fe677208b87dee82.zip SledjHamr-04aad7d4781335c6abbc94a6fe677208b87dee82.tar.gz SledjHamr-04aad7d4781335c6abbc94a6fe677208b87dee82.tar.bz2 SledjHamr-04aad7d4781335c6abbc94a6fe677208b87dee82.tar.xz |
Move skang to libraries and base directory.
Diffstat (limited to '')
-rwxr-xr-x | src/GuiLua/build.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GuiLua/build.lua b/src/GuiLua/build.lua index 7e1da15..16f4153 100755 --- a/src/GuiLua/build.lua +++ b/src/GuiLua/build.lua | |||
@@ -15,9 +15,9 @@ end | |||
15 | 15 | ||
16 | LDFLAGS = '-L ' .. dir .. ' ' .. LDFLAGS | 16 | LDFLAGS = '-L ' .. dir .. ' ' .. LDFLAGS |
17 | 17 | ||
18 | removeFiles(dir, {'test_c.so', 'GuiLua.o', '../../libraries/libGuiLua.so', 'skang'}) | 18 | removeFiles(dir, {'test_c.so', 'GuiLua.o', '../../libraries/libGuiLua.so', '../../skang'}) |
19 | 19 | ||
20 | runCommand('C modules', dir, 'gcc ' .. CFLAGS .. ' -fPIC -shared -o test_c.so test_c.c') | 20 | runCommand('C modules', dir, 'gcc ' .. CFLAGS .. ' -fPIC -shared -o test_c.so test_c.c') |
21 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -fPIC -c GuiLua.c') | 21 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -fPIC -c GuiLua.c') |
22 | runCommand('C libraries', dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libGuiLua.so -o ../../libraries/libGuiLua.so GuiLua.o') | 22 | runCommand('C libraries', dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libGuiLua.so -o ../../libraries/libGuiLua.so GuiLua.o') |
23 | runCommand('C apps', dir, 'gcc ' .. CFLAGS .. ' -Wl,-export-dynamic -o skang skang.c ' .. LDFLAGS .. ' -lGuiLua ' .. libs) | 23 | runCommand('C apps', dir, 'gcc ' .. CFLAGS .. ' -Wl,-export-dynamic -o ../../skang skang.c ' .. LDFLAGS .. ' -lGuiLua ' .. libs) |