aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL/build.lua
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 22:18:15 +1000
committerDavid Walter Seikel2016-03-28 22:18:15 +1000
commite6a8af898de06e5dea07c8bd84bc53e5118881ff (patch)
treeea8696ee21b8ae2288c154316cfb3a15830e54dc /src/LuaSL/build.lua
parentAdd stuff to build external projects NetSurf and polipo. (diff)
downloadSledjHamr-e6a8af898de06e5dea07c8bd84bc53e5118881ff.zip
SledjHamr-e6a8af898de06e5dea07c8bd84bc53e5118881ff.tar.gz
SledjHamr-e6a8af898de06e5dea07c8bd84bc53e5118881ff.tar.bz2
SledjHamr-e6a8af898de06e5dea07c8bd84bc53e5118881ff.tar.xz
Move lemon to the src/others directory.
Diffstat (limited to 'src/LuaSL/build.lua')
-rwxr-xr-xsrc/LuaSL/build.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LuaSL/build.lua b/src/LuaSL/build.lua
index dafcf5e..3a45e9b 100755
--- a/src/LuaSL/build.lua
+++ b/src/LuaSL/build.lua
@@ -16,7 +16,7 @@ end
16removeFiles(dir, {'*.output', '*.backup', 'LuaSL_lexer.h', 'LuaSL_lexer.c', 'LuaSL_lemon_yaccer.h', 'LuaSL_lemon_yaccer.c', 'LuaSL_lemon_yaccer.out'}) 16removeFiles(dir, {'*.output', '*.backup', 'LuaSL_lexer.h', 'LuaSL_lexer.c', 'LuaSL_lemon_yaccer.h', 'LuaSL_lemon_yaccer.c', 'LuaSL_lemon_yaccer.out'})
17 17
18-- Build and run lemon first, flex depends on it to define the symbol values. 18-- Build and run lemon first, flex depends on it to define the symbol values.
19compileFiles('lemon', dir .. '/../../libraries/lemon', {'lemon'}, '') 19compileFiles('lemon', dir .. '/../others/lemon', {'lemon'}, '')
20runCommand('lemon', dir, '../../libraries/lemon/lemon -qs -T../../libraries/lemon/lempar.c LuaSL_lemon_yaccer.y') 20runCommand('lemon', dir, '../others/lemon/lemon -qs -T../others/lemon/lempar.c LuaSL_lemon_yaccer.y')
21runCommand('flex', dir, 'flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l') 21runCommand('flex', dir, 'flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l')
22compileFiles('../../LuaSL', dir, {'LuaSL_main', 'LuaSL_compile', 'LuaSL_lexer', 'LuaSL_lemon_yaccer'}, '') 22compileFiles('../../LuaSL', dir, {'LuaSL_main', 'LuaSL_compile', 'LuaSL_lexer', 'LuaSL_lemon_yaccer'}, '')