wiimote for osx WIP

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3109 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator
2009-04-30 14:23:45 +00:00
parent 63f84a491a
commit 3917941ae1
8 changed files with 222 additions and 40 deletions

View File

@ -37,9 +37,17 @@ if wmenv['HAVE_WIIUSE']:
files += [ "ReadWiimote.cpp" ]
cxxflags += ['-DHAVE_WIIUSE']
wmenv.Append(
CXXFLAGS = cxxflags,
LIBS = libs,
)
if sys.platform == 'darwin':
wmenv.Append(
CXXFLAGS = cxxflags,
LINKFLAGS = ['-framework' ,'IOBluetooth'],
LIBS = libs,
)
else:
wmenv.Append(
CXXFLAGS = cxxflags,
LIBS = libs,
)
wmenv.SharedLibrary(env['plugin_dir']+name, files)