23 lines
368 B
Python
23 lines
368 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
if sys.platform == 'darwin':
|
|
output = "../../../../Binary/mac/Plugins/Plugin_Wiimote.so"
|
|
else:
|
|
output = "../../../../Binary/linux/Plugins/Plugin_Wiimote.so"
|
|
|
|
files = [
|
|
"Wiimote_Test.cpp",
|
|
]
|
|
|
|
padenv = env.Clone()
|
|
padenv.Append(
|
|
CXXFLAGS = [
|
|
'-fPIC',
|
|
],
|
|
)
|
|
padenv.SharedLibrary(output, files, LIBS = [ "common" ])
|
|
|