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:
Soren Jorvang
2010-07-19 03:42:37 +00:00
parent 4ecfa3b7a2
commit a2b1f829cb
29 changed files with 223 additions and 347 deletions

View File

@ -1,7 +1,6 @@
# -*- python -*-
Import('env')
import sys
name = "Plugin_DSP_HLE"
@ -23,15 +22,11 @@ files = [
'UCodes/UCode_Zelda_Synth.cpp',
]
dspenv = env.Clone()
if env['HAVE_WX']:
files += [
'ConfigDlg.cpp'
]
if dspenv['HAVE_WX']:
files += [
'ConfigDlg.cpp',
]
libs = [ 'common', 'audiocommon' ]
dspenv.Append(
LIBS = [ 'common', 'audiocommon' ],
)
dspenv.SharedLibrary(env['plugin_dir']+name, files)
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)