Moved wiimote_test to wiimote

Some linux compile fixes


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1266 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
nakeee
2008-11-23 08:44:02 +00:00
parent 3fdfd6e234
commit 6e4a5d8cda
26 changed files with 11 additions and 9 deletions

View File

@ -0,0 +1,36 @@
# -*- python -*-
Import('env')
import sys
name = "Plugin_Wiimote"
files = [
"Config.cpp",
"ConfigDlg.cpp",
"Console.cpp",
"DataReports.cpp",
"EmuDefinitions.cpp",
"EmuMain.cpp",
"EmuSubroutines.cpp",
"Encryption.cpp",
"FillReport.cpp",
"main.cpp",
"wiimote_real.cpp",
]
wiimoteenv = env.Clone()
if wiimoteenv['osx64']:
wiimoteenv.Append(
CXXFLAGS = [ '-arch', 'x86_64' ],
LINKFLAGS = [ '-arch', 'x86_64' ],
LIBS = [ 'common' ],
)
else:
wiimoteenv.Append(
CXXFLAGS = [ '-fPIC' ],
LIBS = [ 'common', 'wiiuse' ],
)
wiimoteenv.SharedLibrary(env['plugin_dir']+name, files)