aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/scintilla.mak
diff options
context:
space:
mode:
Diffstat (limited to 'win32/scintilla.mak')
-rw-r--r--win32/scintilla.mak11
1 files changed, 6 insertions, 5 deletions
diff --git a/win32/scintilla.mak b/win32/scintilla.mak
index afcb34719..4f3efc4ef 100644
--- a/win32/scintilla.mak
+++ b/win32/scintilla.mak
@@ -8,7 +8,8 @@
# nmake -f scintilla.mak
# Usage for Borland:
# make -f scintilla.mak
-# For debug versions define DEBUG on the command line.
+# For debug versions define DEBUG on the command line, for Borland:
+# make DEBUG=1 -f scintilla.mak
# The main makefile uses mingw32 gcc and may be more current than this file.
.SUFFIXES: .cxx
@@ -37,8 +38,8 @@ LD=link
INCLUDEDIRS=-I ../include -I ../src
CXXFLAGS=/TP /W4
# For something scary:/Wp64
-CXXDEBUG=/Zi /Od /MDd
-CXXNDEBUG=/Ox /MD
+CXXDEBUG=/Zi /Od /MDd -DDEBUG
+CXXNDEBUG=/Ox /MD -DNDEBUG
NAMEFLAG=-Fo
LDFLAGS=/opt:nowin98
LDDEBUG=/DEBUG
@@ -55,8 +56,8 @@ INCLUDEDIRS=-I../include -I../src
CXXFLAGS = -v
CXXFLAGS=-P -tWM -w -w-prc -w-inl -RT- -x-
# Above turns off warnings for clarfying parentheses and inlines with for not expanded
-CXXDEBUG=-v
-CXXNDEBUG=-O1
+CXXDEBUG=-v -DDEBUG
+CXXNDEBUG=-O1 -DNDEBUG
NAMEFLAG=-o
LDFLAGS=
LDDEBUG=-v