2008-07-23 18:53:54 +00:00
|
|
|
Import('env')
|
2008-07-31 08:38:13 +00: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 12:28:17 +00:00
|
|
|
files = [ "nJoy.cpp",
|
2008-07-26 12:32:33 +00:00
|
|
|
"GUI/AboutBox.cpp",
|
2008-07-29 22:26:42 +00:00
|
|
|
"GUI/ConfigBox.cpp",
|
2008-07-26 12:28:17 +00:00
|
|
|
]
|
|
|
|
padenv=env.Copy(CXXFLAGS = " `wx-config --cppflags` `pkg-config --cflags sdl`", LINKFLAGS = "`wx-config --libs` `pkg-config --libs sdl` ")
|
2008-07-31 08:38:13 +00:00
|
|
|
padenv.SharedLibrary(output, files, LIBS=["common"])
|