2008-07-12 17:40:22 +00:00
|
|
|
Import('env')
|
2008-07-31 08:38:13 +00:00
|
|
|
import sys
|
|
|
|
|
|
|
|
if sys.platform == 'darwin':
|
|
|
|
output = "../../../../Binary/mac/Plugins/padsimple.so"
|
|
|
|
else:
|
|
|
|
output = "../../../../Binary/linux/Plugins/padsimple.so"
|
|
|
|
|
2008-07-12 17:40:22 +00:00
|
|
|
files = ["main.cpp",
|
|
|
|
]
|
2008-07-22 11:16:45 +00:00
|
|
|
padenv=env.Copy(CXXFLAGS = " `pkg-config --cflags sdl`", LINKFLAGS = " `pkg-config --libs sdl`")
|
|
|
|
padenv.SharedLibrary(output, files, LIBS=["common"])
|