19 lines
396 B
Python

# -*- python -*-
Import('env')
import sys
if sys.platform == 'darwin':
output = "../../../../Binary/mac/Plugins/padsimple.so"
else:
output = "../../../../Binary/linux/Plugins/padsimple.so"
files = [
"PadSimple.cpp",
]
if not env['nowx']:
files += ["GUI/ConfigDlg.cpp", "XInputBase.cpp",]
padenv = env.Clone()
padenv.Append(LIBS = [ 'common', 'X11' ])
padenv.SharedLibrary(output, files)