mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-12 09:09:12 +01:00
9a3ebd0c3b
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@762 8ced0084-cf51-0410-be5f-012b33b47a6e
23 lines
432 B
Python
23 lines
432 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
if sys.platform == 'darwin':
|
|
output = '../../../../Binary/mac/Plugins/Plugin_nJoy_SDL.so'
|
|
else:
|
|
output = '../../../../Binary/linux/Plugins/Plugin_nJoy_SDL.so'
|
|
|
|
files = [
|
|
'nJoy.cpp',
|
|
]
|
|
if not env['nowx']:
|
|
files.Append['GUI/AboutBox.cpp', 'GUI/ConfigBox.cpp',]
|
|
|
|
padenv = env.Clone()
|
|
padenv.Append(
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
LIBS = [ 'common' ],
|
|
)
|
|
padenv.SharedLibrary(output, files)
|