mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
cd321feb83
apply eol-style native to GCPad, pretty annoying to break patches and stuff git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5059 8ced0084-cf51-0410-be5f-012b33b47a6e
29 lines
439 B
Python
29 lines
439 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 = [ 'inputcommon', 'common', ],
|
|
)
|
|
|
|
padenv.SharedLibrary(env['plugin_dir']+name, files)
|