summaryrefslogtreecommitdiff
path: root/nt/nmake.defs
diff options
context:
space:
mode:
Diffstat (limited to 'nt/nmake.defs')
-rw-r--r--nt/nmake.defs4
1 files changed, 3 insertions, 1 deletions
diff --git a/nt/nmake.defs b/nt/nmake.defs
index 4e3ead1b14d..f979c9688f1 100644
--- a/nt/nmake.defs
+++ b/nt/nmake.defs
@@ -27,10 +27,12 @@ ALL_DEPS = $**
SUBSYSTEM_WINDOWS=-subsystem:windows
SUBSYSTEM_CONSOLE=-subsystem:console
+CURDIR = $(MAKEDIR:\=/)
+
# INSTALL_DIR is the directory into which emacs will be installed.
#
!ifndef INSTALL_DIR
-INSTALL_DIR = $(MAKEDIR)/..
+INSTALL_DIR = $(CURDIR)/..
!endif
# Allow detection of builds with MSVC 5 or later, so we can