From: Matthias Braun Date: Tue, 16 Nov 2004 17:51:31 +0000 (+0000) Subject: add variants and link executable to toplevel X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=b070e93d2c0fdffcf7fa85673775e5e8b2c9639d;p=supertux.git add variants and link executable to toplevel SVN-Revision: 2098 --- diff --git a/SConstruct b/SConstruct index 557be7e9e..54c14b1ce 100644 --- a/SConstruct +++ b/SConstruct @@ -73,7 +73,7 @@ if str(env['VARIANT']) == "optimize": env.Append(CXXFLAGS = "-O2 -g") elif str(env['VARIANT']) == "debug": env.Append(CXXFLAGS = "-O0 -g3") - env.Append(CPPDEFINES = "DEBUG") + env.Append(CPPDEFINES = { "DEBUG":"1" }) elif str(env['VARIANT']) == "profile": env.Append(CXXFLAGS = "-pg -O2") diff --git a/src/SConscript b/src/SConscript index ccb8f8cdc..56170c7df 100644 --- a/src/SConscript +++ b/src/SConscript @@ -10,4 +10,4 @@ app = env.Program( ) # hacky way for now... -AddPostAction(app, "ln -s $TARGET .") +AddPostAction(app, "ln -sf $TARGET .")