From: Rudolf Polzer Date: Thu, 21 Mar 2013 16:22:32 +0000 (+0100) Subject: Fix for ./all compile -r dedicated, thanks, ItsMe, fixes #1406 X-Git-Tag: xonotic-v0.7.0~12 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b5ab6c2468b41ccc3bd445960c27473dbccc0c57;p=xonotic%2Fxonotic.git Fix for ./all compile -r dedicated, thanks, ItsMe, fixes #1406 --- diff --git a/misc/tools/all/xonotic.subr b/misc/tools/all/xonotic.subr index bbc86c3d..405c0ff4 100644 --- a/misc/tools/all/xonotic.subr +++ b/misc/tools/all/xonotic.subr @@ -86,19 +86,19 @@ case "$cmd" in for X in $1; do case "$X" in sdl) - TARGETS="$TARGETS sdl-debug" + TARGETS="$TARGETS sdl-$debug" ;; agl) - TARGETS="$TARGETS cl-debug" + TARGETS="$TARGETS cl-$debug" if $snowleopardhack; then export CC="$CC -arch i386" fi ;; glx|wgl) - TARGETS="$TARGETS cl-debug" + TARGETS="$TARGETS cl-$debug" ;; dedicated) - TARGETS="$TARGETS sv-debug" + TARGETS="$TARGETS sv-$debug" ;; *) BAD_TARGETS="$BAD_TARGETS $X"