From 83e8a543db55e77ce8519bb93debd546065826c1 Mon Sep 17 00:00:00 2001 From: tma Date: Thu, 1 Dec 2005 20:53:28 +0000 Subject: * 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 --- code/unix/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'code/unix') 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 -- cgit v1.2.3