aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/build.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-04-22 14:31:56 +1000
committerDavid Walter Seikel2014-04-22 14:31:56 +1000
commit9410830b5d317c3da4758c8c63f5e67b708b755c (patch)
tree7a2c24875db8c85e5b55d111b88cf08888968fce /LuaSL/build.lua
parentMove the test sim to the media directory. (diff)
downloadSledjHamr-9410830b5d317c3da4758c8c63f5e67b708b755c.zip
SledjHamr-9410830b5d317c3da4758c8c63f5e67b708b755c.tar.gz
SledjHamr-9410830b5d317c3da4758c8c63f5e67b708b755c.tar.bz2
SledjHamr-9410830b5d317c3da4758c8c63f5e67b708b755c.tar.xz
Move LuaSL source up one directory.
Diffstat (limited to 'LuaSL/build.lua')
-rwxr-xr-xLuaSL/build.lua12
1 files changed, 5 insertions, 7 deletions
diff --git a/LuaSL/build.lua b/LuaSL/build.lua
index f626fb0..b5ff670 100755
--- a/LuaSL/build.lua
+++ b/LuaSL/build.lua
@@ -13,13 +13,11 @@ if 'nil' == type(dir) then
13 dir = workingDir 13 dir = workingDir
14end 14end
15 15
16dir = dir .. '/src' 16removeFiles(dir, {'LuaSL', '*.o', '*.output', '*.backup', '../media/LuaSL.edj', 'LuaSL_lexer.h', 'LuaSL_lexer.c', 'LuaSL_lemon_yaccer.h', 'LuaSL_lemon_yaccer.c', 'LuaSL_lemon_yaccer.out'})
17
18removeFiles(dir, {'../LuaSL', '*.o', '*.output', '*.backup', '../../media/LuaSL.edj', 'LuaSL_lexer.h', 'LuaSL_lexer.c', 'LuaSL_lemon_yaccer.h', 'LuaSL_lemon_yaccer.c', 'LuaSL_lemon_yaccer.out'})
19 17
20-- Run lemon first, flex depends on it to define the symbol values. 18-- Run lemon first, flex depends on it to define the symbol values.
21runCommand('lemon', dir, '../../libraries/lemon/lemon -s -T../../libraries/lemon/lempar.c LuaSL_lemon_yaccer.y') 19runCommand('lemon', dir, '../libraries/lemon/lemon -s -T../libraries/lemon/lempar.c LuaSL_lemon_yaccer.y')
22runCommand('flex', dir, 'flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l') 20runCommand('flex', dir, 'flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l')
23runCommand('edje_cc', dir, 'edje_cc ' .. EDJE_FLAGS .. ' LuaSL.edc ../../media/LuaSL.edj') 21runCommand('edje_cc', dir, 'edje_cc ' .. EDJE_FLAGS .. ' LuaSL.edc ../media/LuaSL.edj')
24compileFiles('../LuaSL', dir, {'LuaSL_main', 'LuaSL_compile', 'LuaSL_threads', 'LuaSL_utilities', 'LuaSL_lexer', 'LuaSL_lemon_yaccer'}) 22compileFiles('LuaSL', dir, {'LuaSL_main', 'LuaSL_compile', 'LuaSL_threads', 'LuaSL_utilities', 'LuaSL_lexer', 'LuaSL_lemon_yaccer'})
25compileFiles('../LuaSL_test', dir, {'LuaSL_test', 'LuaSL_utilities'}) 23compileFiles('LuaSL_test', dir, {'LuaSL_test', 'LuaSL_utilities'})