aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix
diff options
context:
space:
mode:
authortma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-01 20:53:28 +0000
committertma <tma@edf5b092-35ff-0310-97b2-ce42778d08ea>2005-12-01 20:53:28 +0000
commit83e8a543db55e77ce8519bb93debd546065826c1 (patch)
tree276d7337b68620598f736e42252c14a141d8273f /code/unix
parent7dbeecaccbc4897dd81113aa00448eec8916c8fa (diff)
downloadioquake3-aero-83e8a543db55e77ce8519bb93debd546065826c1.tar.gz
ioquake3-aero-83e8a543db55e77ce8519bb93debd546065826c1.zip
* Updated AL headers
* Added a Makefile option USE_LOCAL_HEADERS which can be disabled to use system headers if desired git-svn-id: svn://svn.icculus.org/quake3/trunk@402 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/unix')
-rw-r--r--code/unix/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/code/unix/Makefile b/code/unix/Makefile
index b06c9d3..f1cf1f3 100644
--- a/code/unix/Makefile
+++ b/code/unix/Makefile
@@ -70,6 +70,10 @@ ifndef USE_OPENAL_DLOPEN
USE_OPENAL_DLOPEN=0
endif
+ifndef USE_LOCAL_HEADERS
+USE_LOCAL_HEADERS=1
+endif
+
ifndef BUILD_CLIENT
BUILD_CLIENT=1
endif
@@ -653,6 +657,10 @@ ifdef DEFAULT_BASEDIR
BASE_CFLAGS += -DDEFAULT_BASEDIR=\\\"$(DEFAULT_BASEDIR)\\\"
endif
+ifeq ($(USE_LOCAL_HEADERS),1)
+ BASE_CFLAGS += -DUSE_LOCAL_HEADERS=1
+endif
+
ifeq ($(GENERATE_DEPENDENCIES),1)
ifeq ($(CC),gcc)
DEPEND_CFLAGS=-MMD