mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 14:01:26 +00:00
Allow user to specify different temp dir for building (#4349)
This commit is contained in:
parent
1d2d67cdde
commit
54aa7f2583
2 changed files with 5 additions and 3 deletions
7
Makefile
7
Makefile
|
@ -103,6 +103,10 @@ ifndef BUILD_DIR
|
||||||
BUILD_DIR=build
|
BUILD_DIR=build
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifndef TEMPDIR
|
||||||
|
TEMPDIR=/tmp
|
||||||
|
endif
|
||||||
|
|
||||||
ifndef GENERATE_DEPENDENCIES
|
ifndef GENERATE_DEPENDENCIES
|
||||||
GENERATE_DEPENDENCIES=1
|
GENERATE_DEPENDENCIES=1
|
||||||
endif
|
endif
|
||||||
|
@ -184,7 +188,6 @@ LOKISETUPDIR=misc/setup
|
||||||
NSISDIR=misc/nsis
|
NSISDIR=misc/nsis
|
||||||
SDLHDIR=$(MOUNT_DIR)/SDL12
|
SDLHDIR=$(MOUNT_DIR)/SDL12
|
||||||
LIBSDIR=$(MOUNT_DIR)/libs
|
LIBSDIR=$(MOUNT_DIR)/libs
|
||||||
TEMPDIR=/tmp
|
|
||||||
|
|
||||||
bin_path=$(shell which $(1) 2> /dev/null)
|
bin_path=$(shell which $(1) 2> /dev/null)
|
||||||
|
|
||||||
|
@ -239,8 +242,6 @@ LIB=lib
|
||||||
INSTALL=install
|
INSTALL=install
|
||||||
MKDIR=mkdir
|
MKDIR=mkdir
|
||||||
|
|
||||||
#ifneq (,$(findstring i86pc,$(shell uname -m)))
|
|
||||||
#ifneq (,findstring($(PLATFORM),linux gnu_kfreebsd kfreebsd-gnu))
|
|
||||||
ifneq (,$(findstring $(PLATFORM), linux gnu_kfreebsd kfreebsd-gnu))
|
ifneq (,$(findstring $(PLATFORM), linux gnu_kfreebsd kfreebsd-gnu))
|
||||||
|
|
||||||
ifeq ($(ARCH),axp)
|
ifeq ($(ARCH),axp)
|
||||||
|
|
1
README
1
README
|
@ -93,6 +93,7 @@ Makefile.local:
|
||||||
USE_CODEC_VORBIS - enable Ogg Vorbis support
|
USE_CODEC_VORBIS - enable Ogg Vorbis support
|
||||||
USE_LOCAL_HEADERS - use headers local to ioq3 instead of system ones
|
USE_LOCAL_HEADERS - use headers local to ioq3 instead of system ones
|
||||||
COPYDIR - the target installation directory
|
COPYDIR - the target installation directory
|
||||||
|
TEMPDIR - specify user defined directory for temp files
|
||||||
|
|
||||||
The defaults for these variables differ depending on the target platform.
|
The defaults for these variables differ depending on the target platform.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue