diff options
author | David Walter Seikel | 2014-05-13 12:03:16 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-05-13 12:03:16 +1000 |
commit | 4a7fb771bd8a2e3d00dab031f88e15c92a6be184 (patch) | |
tree | 8787beaff5d2596e08f1f7e835dd1d49f41258d9 /src/LuaSL/build.lua | |
parent | Move poor mans introspection into winFang.c, and use it in purkle. (diff) | |
download | SledjHamr-4a7fb771bd8a2e3d00dab031f88e15c92a6be184.zip SledjHamr-4a7fb771bd8a2e3d00dab031f88e15c92a6be184.tar.gz SledjHamr-4a7fb771bd8a2e3d00dab031f88e15c92a6be184.tar.bz2 SledjHamr-4a7fb771bd8a2e3d00dab031f88e15c92a6be184.tar.xz |
Add some love, er I mean, add the love world server, coz love makes the world go around.
Actually, it's just the old LuaSL_test harness, but half of that is the love server anyway,
the other half is just test harness.
Diffstat (limited to 'src/LuaSL/build.lua')
-rwxr-xr-x | src/LuaSL/build.lua | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/LuaSL/build.lua b/src/LuaSL/build.lua index 4bf0c09..0efcca3 100755 --- a/src/LuaSL/build.lua +++ b/src/LuaSL/build.lua | |||
@@ -14,19 +14,16 @@ if 'nil' == type(dir) then | |||
14 | end | 14 | end |
15 | 15 | ||
16 | 16 | ||
17 | removeFiles(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 | removeFiles(dir, {'../../LuaSL', '*.o', '*.output', '*.backup', 'LuaSL_lexer.h', 'LuaSL_lexer.c', 'LuaSL_lemon_yaccer.h', 'LuaSL_lemon_yaccer.c', 'LuaSL_lemon_yaccer.out'}) |
18 | 18 | ||
19 | -- Run lemon first, flex depends on it to define the symbol values. | 19 | -- Run lemon first, flex depends on it to define the symbol values. |
20 | runCommand('lemon', dir, '../../libraries/lemon/lemon -s -T../../libraries/lemon/lempar.c LuaSL_lemon_yaccer.y') | 20 | runCommand('lemon', dir, '../../libraries/lemon/lemon -s -T../../libraries/lemon/lempar.c LuaSL_lemon_yaccer.y') |
21 | runCommand('flex', dir, 'flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l') | 21 | runCommand('flex', dir, 'flex -C --outfile=LuaSL_lexer.c --header-file=LuaSL_lexer.h LuaSL_lexer.l') |
22 | runCommand('edje_cc', dir, 'edje_cc ' .. EDJE_FLAGS .. ' LuaSL.edc ../../media/LuaSL.edj') | ||
23 | 22 | ||
24 | -- While SledHamr.c does this, we can't use that here, coz LuaSL is not an Elm app. | 23 | -- While SledHamr.c does this, we can't use that here, coz LuaSL is not an Elm app. |
25 | -- Neither is LuaSL_test actually. | ||
26 | CFLAGS = CFLAGS .. ' -DPACKAGE_BIN_DIR=\\"' .. bin_d .. '\\"' | 24 | CFLAGS = CFLAGS .. ' -DPACKAGE_BIN_DIR=\\"' .. bin_d .. '\\"' |
27 | CFLAGS = CFLAGS .. ' -DPACKAGE_LIB_DIR=\\"' .. lib_d .. '\\"' | 25 | CFLAGS = CFLAGS .. ' -DPACKAGE_LIB_DIR=\\"' .. lib_d .. '\\"' |
28 | CFLAGS = CFLAGS .. ' -DPACKAGE_DATA_DIR=\\"' .. data_d .. '\\"' | 26 | CFLAGS = CFLAGS .. ' -DPACKAGE_DATA_DIR=\\"' .. data_d .. '\\"' |
29 | CFLAGS = CFLAGS .. ' -DPACKAGE_LOCALE_DIR=\\"' .. locale_d .. '\\"' | 27 | CFLAGS = CFLAGS .. ' -DPACKAGE_LOCALE_DIR=\\"' .. locale_d .. '\\"' |
30 | 28 | ||
31 | compileFiles('../../LuaSL', dir, {'LuaSL_main', 'LuaSL_compile', 'LuaSL_threads', 'LuaSL_utilities', 'LuaSL_lexer', 'LuaSL_lemon_yaccer'}, '') | 29 | compileFiles('../../LuaSL', dir, {'LuaSL_main', 'LuaSL_compile', 'LuaSL_threads', 'LuaSL_utilities', 'LuaSL_lexer', 'LuaSL_lemon_yaccer'}, '') |
32 | compileFiles('LuaSL_test', dir, {'LuaSL_test', 'LuaSL_utilities'}, '') | ||