mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-03 23:43:06 +00:00
a2b1f829cb
Use SCons' convenient # shorthand for the root of our tree. Also various minor cleanup of SConscripts. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5915 8ced0084-cf51-0410-be5f-012b33b47a6e
45 lines
615 B
Python
45 lines
615 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
luaenv = env.Clone()
|
|
|
|
if not sys.platform == 'win32':
|
|
luaenv['CPPDEFINES'].append('LUA_USE_LINUX') # Also works for OS X
|
|
|
|
files = [
|
|
'lapi.c',
|
|
'lauxlib.c',
|
|
'lbaselib.c',
|
|
'lcode.c',
|
|
'ldblib.c',
|
|
'ldebug.c',
|
|
'ldo.c',
|
|
'ldump.c',
|
|
'lfunc.c',
|
|
'lgc.c',
|
|
'linit.c',
|
|
'liolib.c',
|
|
'llex.c',
|
|
'lmathlib.c',
|
|
'lmem.c',
|
|
'loadlib.c',
|
|
'lobject.c',
|
|
'lopcodes.c',
|
|
'loslib.c',
|
|
'lparser.c',
|
|
'lstate.c',
|
|
'lstring.c',
|
|
'lstrlib.c',
|
|
'ltable.c',
|
|
'ltablib.c',
|
|
'ltm.c',
|
|
'lundump.c',
|
|
'lvm.c',
|
|
'lzio.c',
|
|
'print.c',
|
|
]
|
|
|
|
luaenv.StaticLibrary(env['local_libs'] + "lua", files)
|