summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-04-12 15:43:15 +0200
committer Miodrag Milanovic <mmicko@gmail.com>2016-04-12 15:43:15 +0200
commitc833268236d712f5e07d2138e6df5b4ba26e114b (patch)
tree95801c6c3f4f6f1d3010919b9527ee2296d2cfa9 /makefile
parentca580178cbad3e317c1d888fc01730443e2d0afb (diff)
Added DEBUG_DIR and DEBUG_ARGS parameters, make sense right now for VS build (nw)
Diffstat (limited to 'makefile')
-rw-r--r--makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/makefile b/makefile
index 8a4258c595e..7ee690d18b3 100644
--- a/makefile
+++ b/makefile
@@ -100,6 +100,9 @@
# IGNORE_BAD_LOCALISATION=1
# PRECOMPILE = 0
+# DEBUG_DIR=c:\test\location
+# DEBUG_ARGS= -window -video bgfx
+
ifdef PREFIX_MAKEFILE
include $(PREFIX_MAKEFILE)
else
@@ -723,6 +726,13 @@ ifdef PRECOMPILE
PARAMS += --precompile='$(PRECOMPILE)'
endif
+ifdef DEBUG_DIR
+PARAMS += --DEBUG_DIR='$(DEBUG_DIR)'
+endif
+
+ifdef DEBUG_ARGS
+PARAMS += --DEBUG_ARGS='$(DEBUG_ARGS)'
+endif
#-------------------------------------------------
# All scripts
#-------------------------------------------------