2008-07-20 11:02:41 +00:00
|
|
|
Import('env')
|
2008-07-30 09:12:52 +00:00
|
|
|
import sys
|
2008-07-20 11:02:41 +00:00
|
|
|
|
|
|
|
files = ["BootManager.cpp",
|
|
|
|
"Config.cpp",
|
|
|
|
"FileSearch.cpp",
|
|
|
|
"Frame.cpp",
|
|
|
|
"GameListCtrl.cpp",
|
|
|
|
"Globals.cpp",
|
|
|
|
"ISOFile.cpp",
|
|
|
|
"Main.cpp",
|
|
|
|
# "MainNoGUI.cpp",
|
|
|
|
"PluginManager.cpp",
|
|
|
|
"PluginOptions.cpp",
|
|
|
|
"stdafx.cpp",
|
|
|
|
]
|
2008-07-30 09:12:52 +00:00
|
|
|
|
|
|
|
|
2008-07-23 18:53:54 +00:00
|
|
|
wxenv = env.Copy(CXXFLAGS = "`wx-config --cppflags` -DUSE_XPM_BITMAPS -DwxNEEDS_CHARPP",
|
|
|
|
LINKFLAGS = "-L/usr/local/lib -pthread `wx-config --libs`")
|
2008-07-30 09:12:52 +00:00
|
|
|
|
|
|
|
if sys.platform == 'darwin':
|
|
|
|
wxenv.Program("../../../../Binary/mac/Dolphin.app/Contents/MacOS/Dolphin", files, LIBS = ["debwx", "discio", "core", "bdisasm", "videocommon", "common" , "z"])
|
|
|
|
else:
|
|
|
|
wxenv.Program("../../../../Binary/linux/Dolphin", files, LIBS = ["debwx", "discio", "core", "bdisasm", "videocommon", "common"])
|