aboutsummaryrefslogtreecommitdiff
path: root/makefile.before
diff options
context:
space:
mode:
Diffstat (limited to 'makefile.before')
-rw-r--r--makefile.before8
1 files changed, 8 insertions, 0 deletions
diff --git a/makefile.before b/makefile.before
index 3f7a3b723..5713a47c4 100644
--- a/makefile.before
+++ b/makefile.before
@@ -35,6 +35,14 @@ else
DEFINES += XKB
endif
+ifeq ($(NORELDBG),1)
+# This all is here to avoid unnecessary rebuilds when switching between release and debug and MAKESERVER
+OBJDIR?=obj
+OBJDIRPREFIX=noreldbg
+DEBUG=0
+MAKESERVER=0
+endif
+
ifeq ($(DEBUG),1)
CCFLAGS += -MDd -RTCc -RTC1 -Od -GS -GR -Zi
LINKFLAGS += /DEBUG