dolphin/Externals/Bochs_disasm/SConscript
nakeee 3e2419776f fixed scons=parsing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@591 8ced0084-cf51-0410-be5f-012b33b47a6e
2008-09-20 22:06:22 +00:00

22 lines
383 B
Python

Import('env')
files = [
"dis_decode.cpp",
"dis_groups.cpp",
"resolve.cpp",
"syntax.cpp",
"PowerPCDisasm.cpp",
]
def filterWarnings(flags):
return ' '.join(
flag
for flag in flags
if not flag.startswith('-W')
)
env_bochs = env.Clone(
CCFLAGS = filterWarnings(env['CCFLAGS']),
CXXFLAGS = filterWarnings(env['CXXFLAGS']),
)
env_bochs.StaticLibrary("bdisasm", files)