mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-11 03:45:01 +00:00
25842deac5
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1799 8ced0084-cf51-0410-be5f-012b33b47a6e
28 lines
406 B
Python
28 lines
406 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
name = "Plugin_nJoy_Testing"
|
|
|
|
if not env['HAVE_SDL']:
|
|
print name + " must have SDL to be build"
|
|
Return()
|
|
|
|
files = [
|
|
'nJoy.cpp',
|
|
]
|
|
|
|
if env['HAVE_WX']:
|
|
files +=[ 'GUI/AboutBox.cpp',
|
|
'GUI/ConfigBox.cpp',
|
|
]
|
|
|
|
padenv = env.Clone()
|
|
padenv.Append(
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
LIBS = [ 'common' ],
|
|
)
|
|
|
|
padenv.SharedLibrary(env['plugin_dir']+name, files)
|