dolphin/Source/Plugins/Plugin_PadSimple/Src/SConscript

19 lines
423 B
Python
Raw Normal View History

Import('env')
import sys
if sys.platform == 'darwin':
output = "../../../../Binary/mac/Plugins/padsimple.so"
else:
output = "../../../../Binary/linux/Plugins/padsimple.so"
files = [
"main.cpp",
]
padenv = env.Copy()
padenv.Append(
CXXFLAGS = ' ' + ' '.join([ '-fPIC', '`pkg-config --cflags sdl`' ]),
LINKFLAGS = ' ' + ' '.join([ '`pkg-config --libs sdl`' ])
)
padenv.SharedLibrary(output, files, LIBS=["common"])