2008-11-19 10:22:29 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
|
|
|
|
files = [
|
|
|
|
"classic.c",
|
|
|
|
"dynamics.c",
|
|
|
|
"events.c",
|
|
|
|
"io.c",
|
|
|
|
"io_nix.c",
|
|
|
|
"ir.c",
|
|
|
|
"nunchuk.c",
|
|
|
|
"guitar_hero_3.c",
|
|
|
|
"wiiuse.c",
|
|
|
|
]
|
|
|
|
|
|
|
|
env_wiiuse = env.Clone(
|
2008-11-19 10:43:10 +00:00
|
|
|
CCFLAGS = env.filterWarnings(env['CCFLAGS']) + ' -fvisibility=default',
|
2008-11-19 10:22:29 +00:00
|
|
|
CXXFLAGS = env.filterWarnings(env['CXXFLAGS']),
|
|
|
|
)
|
|
|
|
|
|
|
|
libs = [
|
2008-12-04 15:15:21 +00:00
|
|
|
'm',
|
2008-11-19 10:22:29 +00:00
|
|
|
]
|
2008-11-19 10:49:36 +00:00
|
|
|
env_wiiuse.SharedLibrary(env['libs_dir']+"wiiuse", files, LIBS=libs)
|