dolphin/Externals/SDL/SConscript
Soren Jorvang a2b1f829cb Get rid of a number of unnecessary env.Clones.
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
2010-07-19 03:42:37 +00:00

27 lines
467 B
Python

# -*- python -*-
Import('env')
import sys
files = [
'src/SDL.c',
'src/SDL_error.c',
'src/SDL_fatal.c',
'src/joystick/SDL_joystick.c',
]
if sys.platform == 'darwin':
files += [
'src/joystick/darwin/SDL_sysjoystick.c',
]
elif sys.platform == 'linux2':
files += [
'src/joystick/linux/SDL_sysjoystick.c',
'src/stdlib/SDL_string.c',
]
else:
files += [
'src/joystick/dummy/SDL_sysjoystick.c',
]
env.StaticLibrary(env['local_libs'] + "SDL", files)