mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-12 09:09:12 +01:00
29 lines
466 B
Python
29 lines
466 B
Python
|
# -*- python -*-
|
||
|
|
||
|
Import('env')
|
||
|
import sys
|
||
|
|
||
|
name = "Plugin_GCPad"
|
||
|
padenv = env.Clone()
|
||
|
|
||
|
if not env['HAVE_SDL']:
|
||
|
print name + " must have SDL to be build"
|
||
|
Return()
|
||
|
|
||
|
files = [
|
||
|
'Config.cpp',
|
||
|
'GCPad.cpp',
|
||
|
'Rumble.cpp',
|
||
|
]
|
||
|
if padenv['HAVE_WX']:
|
||
|
files += [
|
||
|
'ConfigJoypad.cpp',
|
||
|
'ConfigBox.cpp',
|
||
|
]
|
||
|
|
||
|
padenv.Append(
|
||
|
LIBS = [ 'common', 'inputcommon' ],
|
||
|
)
|
||
|
|
||
|
padenv.SharedLibrary(env['plugin_dir']+name, files)
|