26 lines
555 B
Python
26 lines
555 B
Python
Import('env')
|
|
output = "../../../../Binary/linux/Plugins/dsplle.so"
|
|
|
|
files = [
|
|
"AOSoundStream.cpp",
|
|
"disassemble.cpp",
|
|
"gdsp_aram.cpp",
|
|
"gdsp_ext_op.cpp",
|
|
"gdsp_interface.cpp",
|
|
"gdsp_interpreter.cpp",
|
|
"gdsp_memory.cpp",
|
|
"gdsp_opcodes.cpp",
|
|
"gdsp_registers.cpp",
|
|
"Globals.cpp",
|
|
"opcodes.cpp",
|
|
"Tools.cpp",
|
|
"main.cpp",
|
|
]
|
|
|
|
dspenv = env.Clone()
|
|
dspenv.Append(
|
|
CXXFLAGS = ' ' + ' '.join([ '-fPIC', '`pkg-config --cflags ao`' ]),
|
|
LINKFLAGS = ' ' + ' '.join([ '`pkg-config --libs ao`' ])
|
|
)
|
|
dspenv.SharedLibrary(output, files, LIBS = ["common"])
|