32 lines
661 B
Python
32 lines
661 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
files = [
|
|
"DSPHandler.cpp",
|
|
"MailHandler.cpp",
|
|
"main.cpp",
|
|
"Config.cpp",
|
|
"Globals.cpp",
|
|
"PCHW/AOSoundStream.cpp",
|
|
"PCHW/Mixer.cpp",
|
|
"UCodes/UCode_AX.cpp",
|
|
"UCodes/UCode_CARD.cpp",
|
|
"UCodes/UCode_InitAudioSystem.cpp",
|
|
"UCodes/UCode_Jac.cpp",
|
|
"UCodes/UCode_ROM.cpp",
|
|
"UCodes/UCodes.cpp",
|
|
"UCodes/UCode_Zelda.cpp",
|
|
]
|
|
|
|
dspenv = env.Clone()
|
|
dspenv.Append(
|
|
CXXFLAGS = [ '-fPIC', ],
|
|
)
|
|
|
|
if sys.platform == 'darwin':
|
|
dspenv.SharedLibrary("../../../../Binary/mac/Plugins/dsphle.so", files, LIBS = ["common"])
|
|
else:
|
|
dspenv.SharedLibrary("../../../../Binary/linux/Plugins/dsphle.so", files, LIBS = ["common"])
|