dolphin/Source/Core/AudioCommon/Src/SConscript
nakeee 5f862cf297 more scons build fixups
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2960 8ced0084-cf51-0410-be5f-012b33b47a6e
2009-04-12 21:30:22 +00:00

22 lines
403 B
Python

# -*- python -*-
Import('env')
files = [
'AudioCommonConfig.cpp',
'WaveFile.cpp',
'Mixer.cpp',
'AudioCommon.cpp',
]
acenv = env.Clone()
acenv.Append(CXXFLAGS = [ '-fPIC' ])
if acenv['HAVE_OPENAL']:
files += [ 'OpenALStream.cpp', 'aldlist.cpp' ]
if acenv['HAVE_AO']:
files += [ 'AOSoundStream.cpp' ]
acenv.StaticLibrary(env['local_libs'] + 'audiocommon', files)