mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Get rid of a number of unnecessary env.Clones.
Use SCons' convenient # shorthand for the root of our tree. Also various minor cleanup of SConscripts. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5915 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
19
Externals/MemcardManager/SConscript
vendored
19
Externals/MemcardManager/SConscript
vendored
@ -1,14 +1,13 @@
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
import sys
|
||||
|
||||
if not env['HAVE_WX']:
|
||||
Return()
|
||||
|
||||
wxenv = env.Clone()
|
||||
|
||||
files = [
|
||||
'src/mcmMain.cpp',
|
||||
'src/MCMdebug.cpp',
|
||||
]
|
||||
|
||||
libs = [
|
||||
@ -16,18 +15,6 @@ libs = [
|
||||
'common',
|
||||
]
|
||||
|
||||
if wxenv['HAVE_WX']:
|
||||
files += [
|
||||
'src/mcmMain.cpp',
|
||||
'src/MCMdebug.cpp',
|
||||
]
|
||||
|
||||
LIBS = libs
|
||||
|
||||
wxenv.Append(
|
||||
LIBS = libs
|
||||
)
|
||||
|
||||
exeGUI = env['binary_dir'] + 'MemcardManager'
|
||||
|
||||
wxenv.Program(exeGUI, files)
|
||||
env.Program(exeGUI, files, LIBS = env['LIBS'] + libs)
|
||||
|
Reference in New Issue
Block a user