aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/build.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-01-02 23:59:50 +1000
committerDavid Walter Seikel2016-01-02 23:59:50 +1000
commit57a36a84c91d3d69550c57e3de4decc2c7a6e427 (patch)
treebc7fb1c233876e342e72db303db882fb0367f065 /build.lua
parentDocumentation about how we could interact with web browsers. (diff)
downloadSledjHamr-57a36a84c91d3d69550c57e3de4decc2c7a6e427.zip
SledjHamr-57a36a84c91d3d69550c57e3de4decc2c7a6e427.tar.gz
SledjHamr-57a36a84c91d3d69550c57e3de4decc2c7a6e427.tar.bz2
SledjHamr-57a36a84c91d3d69550c57e3de4decc2c7a6e427.tar.xz
Rejig the build, test, and kill scripts a little bit.
Diffstat (limited to 'build.lua')
-rwxr-xr-xbuild.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/build.lua b/build.lua
index 160dcce..5661025 100755
--- a/build.lua
+++ b/build.lua
@@ -70,6 +70,9 @@ locale_d = baseDir .. '/locale'
70-- On the other hand, there's a more direct way to get to environment variables, it would fail to. 70-- On the other hand, there's a more direct way to get to environment variables, it would fail to.
71CFLAGOPTS = readCommand('echo "$CFLAGOPTS"') 71CFLAGOPTS = readCommand('echo "$CFLAGOPTS"')
72 72
73-- Make sure any old servers are killed off.
74os.execute('./killem.sh')
75
73CFLAGS = '-g -Wall -I ' .. baseDir .. '/src/libraries' 76CFLAGS = '-g -Wall -I ' .. baseDir .. '/src/libraries'
74CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'luajit') 77CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'luajit')
75CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'elementary') 78CFLAGS = CFLAGS .. ' ' .. pkgConfig('cflags', 'elementary')