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/GuiLua/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/GuiLua/build.lua')
-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 c0215b5..f6e6d81 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', lib_d .. '/libGuiLua.so', '../../skang'}) | 18 | removeFiles(dir, {'test_c.so', 'GuiLua.o', lib_d .. '/libGuiLua.so', bin_d .. '/skang'}) |
19 | 19 | ||
20 | runCommand('C libraries', dir, 'gcc ' .. CFLAGS .. ' -fPIC -c GuiLua.c') | 20 | runCommand('C libraries', dir, 'gcc ' .. CFLAGS .. ' -fPIC -c GuiLua.c') |
21 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libGuiLua.so -o ' .. lib_d .. '/libGuiLua.so GuiLua.o') | 21 | runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libGuiLua.so -o ' .. lib_d .. '/libGuiLua.so GuiLua.o') |
22 | runCommand('C apps', dir, 'gcc ' .. CFLAGS .. ' -Wl,-export-dynamic -o ../../skang skang.c ' .. LDFLAGS .. ' -lGuiLua ' .. libs) | 22 | runCommand('C apps', dir, 'gcc ' .. CFLAGS .. ' -Wl,-export-dynamic -o ' .. bin_d .. '/skang skang.c ' .. LDFLAGS .. ' -lGuiLua ' .. libs) |
23 | runCommand('C modules', dir, 'gcc ' .. CFLAGS .. ' -fPIC -shared -o test_c.so test_c.c') | 23 | runCommand('C modules', dir, 'gcc ' .. CFLAGS .. ' -fPIC -shared -o test_c.so test_c.c') |