2008-07-23 21:53:54 +03:00
|
|
|
Import('env')
|
2008-07-31 11:38:13 +03:00
|
|
|
import sys
|
|
|
|
|
|
|
|
if sys.platform == 'darwin':
|
|
|
|
output = "../../../../Binary/mac/Plugins/Plugin_nJoy_SDL.so"
|
|
|
|
else:
|
|
|
|
output = "../../../../Binary/linux/Plugins/Plugin_nJoy_SDL.so"
|
|
|
|
|
2008-07-26 15:28:17 +03:00
|
|
|
files = [ "nJoy.cpp",
|
2008-07-26 15:32:33 +03:00
|
|
|
"GUI/AboutBox.cpp",
|
2008-07-30 01:26:42 +03:00
|
|
|
"GUI/ConfigBox.cpp",
|
2008-07-26 15:28:17 +03:00
|
|
|
]
|
|
|
|
padenv=env.Copy(CXXFLAGS = " `wx-config --cppflags` `pkg-config --cflags sdl`", LINKFLAGS = "`wx-config --libs` `pkg-config --libs sdl` ")
|
2008-07-31 11:38:13 +03:00
|
|
|
padenv.SharedLibrary(output, files, LIBS=["common"])
|