2010-06-11 15:18:36 +00:00
|
|
|
# -*- python -*-
|
|
|
|
|
|
|
|
Import('env')
|
|
|
|
import sys
|
2010-06-14 18:07:29 +00:00
|
|
|
|
|
|
|
if not env['HAVE_WX']:
|
|
|
|
Return()
|
|
|
|
|
2010-06-11 15:18:36 +00:00
|
|
|
wxenv = env.Clone()
|
|
|
|
|
2009-08-16 06:21:02 +00:00
|
|
|
files = [
|
2010-06-11 15:18:36 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
libs = [
|
2010-06-14 18:07:29 +00:00
|
|
|
'memcard',
|
2010-06-11 15:18:36 +00:00
|
|
|
'common',
|
|
|
|
]
|
|
|
|
|
|
|
|
if wxenv['HAVE_WX']:
|
2009-08-16 06:21:02 +00:00
|
|
|
files += [
|
2010-06-14 18:07:29 +00:00
|
|
|
'src/mcmMain.cpp',
|
|
|
|
'src/MCMdebug.cpp',
|
2010-06-11 15:18:36 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
LIBS = libs
|
|
|
|
|
|
|
|
wxenv.Append(
|
|
|
|
LIBS = libs
|
|
|
|
)
|
|
|
|
|
|
|
|
exeGUI = env['binary_dir'] + 'MemcardManager'
|
|
|
|
|
|
|
|
wxenv.Program(exeGUI, files)
|