aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/GuiLua/build.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-05-05 05:42:54 +1000
committerDavid Walter Seikel2014-05-05 05:42:54 +1000
commit579b3b0afdff09433a2153a254b1d66abdb906ee (patch)
treefdfbee6eec1defe0f0ff5e8089552d317ee58fd7 /src/GuiLua/build.lua
parentMerge inline and external window creation. (diff)
downloadSledjHamr-579b3b0afdff09433a2153a254b1d66abdb906ee.zip
SledjHamr-579b3b0afdff09433a2153a254b1d66abdb906ee.tar.gz
SledjHamr-579b3b0afdff09433a2153a254b1d66abdb906ee.tar.bz2
SledjHamr-579b3b0afdff09433a2153a254b1d66abdb906ee.tar.xz
Move winFang to libraries, and convert GuiLua to use it.
Diffstat (limited to 'src/GuiLua/build.lua')
-rwxr-xr-xsrc/GuiLua/build.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/GuiLua/build.lua b/src/GuiLua/build.lua
index 169e198..8b4a1c8 100755
--- a/src/GuiLua/build.lua
+++ b/src/GuiLua/build.lua
@@ -18,6 +18,7 @@ LDFLAGS = '-L ' .. dir .. ' ' .. LDFLAGS
18removeFiles(dir, {'test_c.so', 'GuiLua.o', lib_d .. '/libGuiLua.so', '../../skang'}) 18removeFiles(dir, {'test_c.so', 'GuiLua.o', lib_d .. '/libGuiLua.so', '../../skang'})
19 19
20runCommand('C modules', dir, 'gcc ' .. CFLAGS .. ' -fPIC -shared -o test_c.so test_c.c') 20runCommand('C modules', dir, 'gcc ' .. CFLAGS .. ' -fPIC -shared -o test_c.so test_c.c')
21runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -fPIC -c GuiLua.c') 21
22runCommand('C libraries', dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libGuiLua.so -o ' .. lib_d .. '/libGuiLua.so GuiLua.o') 22runCommand('C libraries', dir, 'gcc ' .. CFLAGS .. ' -fPIC -c GuiLua.c')
23runCommand('C apps', dir, 'gcc ' .. CFLAGS .. ' -Wl,-export-dynamic -o ../../skang skang.c ' .. LDFLAGS .. ' -lGuiLua ' .. libs) 23runCommand(nil, dir, 'gcc ' .. CFLAGS .. ' -shared -Wl,-soname,libGuiLua.so -o ' .. lib_d .. '/libGuiLua.so GuiLua.o')
24runCommand('C apps', dir, 'gcc ' .. CFLAGS .. ' -Wl,-export-dynamic -o ../../skang skang.c ' .. LDFLAGS .. ' -lGuiLua -lwinFang ' .. libs)