From e0291e735cd44972603528bf68b690d52bb1dcc3 Mon Sep 17 00:00:00 2001 From: nakeee Date: Sun, 21 Sep 2008 19:54:29 +0000 Subject: cleaned up SConscripts git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@602 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Common/Src/SConscript | 2 ++ Source/Core/Core/Src/SConscript | 2 ++ Source/Core/DebuggerWX/src/SConscript | 14 +++++++++----- Source/Core/DiscIO/Src/SConscript | 7 ++++++- Source/Core/DolphinWX/Src/SConscript | 9 +++++---- Source/Core/VideoCommon/Src/SConscript | 2 ++ 6 files changed, 26 insertions(+), 10 deletions(-) (limited to 'Source/Core') diff --git a/Source/Core/Common/Src/SConscript b/Source/Core/Common/Src/SConscript index 972376849a..9bc27b69c4 100644 --- a/Source/Core/Common/Src/SConscript +++ b/Source/Core/Common/Src/SConscript @@ -1,3 +1,5 @@ +# -*- python -*- + Import('env') files = [ diff --git a/Source/Core/Core/Src/SConscript b/Source/Core/Core/Src/SConscript index 5a4e0eef80..ce98ee2e53 100644 --- a/Source/Core/Core/Src/SConscript +++ b/Source/Core/Core/Src/SConscript @@ -1,3 +1,5 @@ +# -*- python -*- + Import('env') files = ["Console.cpp", diff --git a/Source/Core/DebuggerWX/src/SConscript b/Source/Core/DebuggerWX/src/SConscript index f5a0a2b9c8..005b8f4b65 100644 --- a/Source/Core/DebuggerWX/src/SConscript +++ b/Source/Core/DebuggerWX/src/SConscript @@ -1,3 +1,5 @@ +# -*- python -*- + Import('env') files = ["LogWindow.cpp", @@ -17,14 +19,16 @@ files = ["LogWindow.cpp", ] wxenv = env.Clone() wxenv.Append( - CXXFLAGS = [ - '-DUSE_XPM_BITMAPS', - '-DwxNEEDS_CHARPP' + CPPDEFINES = [ + 'USE_XPM_BITMAPS', + 'wxNEEDS_CHARPP' ], LINKFLAGS = [ - '-L/usr/local/lib', '-pthread', ] ) +libs = [ + 'common' +] -wxenv.StaticLibrary("debwx", files, LIBS = [ "common" ]) +wxenv.StaticLibrary("debwx", files, LIBS = libs) diff --git a/Source/Core/DiscIO/Src/SConscript b/Source/Core/DiscIO/Src/SConscript index 411eee2fe5..1f54fc8d78 100644 --- a/Source/Core/DiscIO/Src/SConscript +++ b/Source/Core/DiscIO/Src/SConscript @@ -1,3 +1,5 @@ +# -*- python -*- + Import('env') files = ["BannerLoader.cpp", @@ -16,4 +18,7 @@ files = ["BannerLoader.cpp", "AES/aes_cbc.c", "AES/aes_core.c", ] -env.StaticLibrary("discio", files, LIBS = ["common"]) +libs = [ + 'common' +] +env.StaticLibrary("discio", files, LIBS = libs) diff --git a/Source/Core/DolphinWX/Src/SConscript b/Source/Core/DolphinWX/Src/SConscript index 42ceafe6a5..d5ff36c5cf 100644 --- a/Source/Core/DolphinWX/Src/SConscript +++ b/Source/Core/DolphinWX/Src/SConscript @@ -1,3 +1,5 @@ +# -*- python -*- + Import('env') import sys @@ -23,12 +25,11 @@ libs = [ wxenv = env.Clone() wxenv.Append( - CXXFLAGS = [ - '-DUSE_XPM_BITMAPS', - '-DwxNEEDS_CHARPP', + CPPDEFINES = [ + 'USE_XPM_BITMAPS', + 'wxNEEDS_CHARPP', ], LINKFLAGS = [ - '-L/usr/local/lib', '-pthread', ] ) diff --git a/Source/Core/VideoCommon/Src/SConscript b/Source/Core/VideoCommon/Src/SConscript index f9af771339..39187ad818 100644 --- a/Source/Core/VideoCommon/Src/SConscript +++ b/Source/Core/VideoCommon/Src/SConscript @@ -1,3 +1,5 @@ +# -*- python -*- + Import('env') files = [ -- cgit v1.2.3