mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-06 20:53:31 +01:00
![nakeee](/assets/img/avatar_default.png)
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1213 8ced0084-cf51-0410-be5f-012b33b47a6e
36 lines
689 B
Python
36 lines
689 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
name = "Plugin_Wiimote"
|
|
|
|
files = [
|
|
"Config.cpp",
|
|
"ConfigDlg.cpp",
|
|
"Console.cpp",
|
|
"DataReports.cpp",
|
|
"EmuDefinitions.cpp",
|
|
"EmuMain.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' ],
|
|
)
|
|
|
|
wiimoteenv.SharedLibrary(env['plugin_dir']+name, files)
|