aboutsummaryrefslogtreecommitdiffstats
path: root/code/unix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'code/unix/Makefile')
-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