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", ] lleenv = env.Clone() lleenv.Append( CXXFLAGS = [ '-fPIC', ], ) lleenv.SharedLibrary(output, files, LIBS = ["common"])