mirror of
https://gitlab.com/xonotic/xonotic
synced 2024-12-14 19:05:09 +00:00
targets targets targets targets ;) ./all compile wgl
This commit is contained in:
parent
169208535f
commit
c53177ca96
27
all
27
all
@ -352,6 +352,25 @@ case "$cmd" in
|
|||||||
done
|
done
|
||||||
;;
|
;;
|
||||||
compile)
|
compile)
|
||||||
|
if [ -n "$WE_HATE_OUR_USERS" ]; then
|
||||||
|
TARGETS="sv-debug cl-debug"
|
||||||
|
else
|
||||||
|
TARGETS="sv-debug cl-debug sdl-debug"
|
||||||
|
fi
|
||||||
|
case "$1" in
|
||||||
|
sdl)
|
||||||
|
TARGETS="sdl-debug"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
glx|agl|wgl)
|
||||||
|
TARGETS="cl-debug"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
dedicated)
|
||||||
|
TARGETS="sv-debug"
|
||||||
|
shift
|
||||||
|
;;
|
||||||
|
esac
|
||||||
if [ -z "$MAKEFLAGS" ]; then
|
if [ -z "$MAKEFLAGS" ]; then
|
||||||
if [ -f /proc/cpuinfo ]; then
|
if [ -f /proc/cpuinfo ]; then
|
||||||
ncpus=$((`grep -c '^processor :' /proc/cpuinfo`+0))
|
ncpus=$((`grep -c '^processor :' /proc/cpuinfo`+0))
|
||||||
@ -365,11 +384,9 @@ case "$cmd" in
|
|||||||
enter "$d0/data/xonotic-data.pk3dir" verbose
|
enter "$d0/data/xonotic-data.pk3dir" verbose
|
||||||
verbose make FTEQCC="$d0/fteqcc/fteqcc.bin" $MAKEFLAGS
|
verbose make FTEQCC="$d0/fteqcc/fteqcc.bin" $MAKEFLAGS
|
||||||
enter "$d0/darkplaces" verbose
|
enter "$d0/darkplaces" verbose
|
||||||
verbose make $MAKEFLAGS sv-debug
|
for T in $TARGETS; do
|
||||||
verbose make $MAKEFLAGS cl-debug
|
verbose make $MAKEFLAGS "$T"
|
||||||
if ! [ -n "$WE_HATE_OUR_USERS" ]; then
|
done
|
||||||
verbose make $MAKEFLAGS sdl-debug
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
run)
|
run)
|
||||||
if [ -n "$WE_HATE_OUR_USERS" ]; then
|
if [ -n "$WE_HATE_OUR_USERS" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user