summaryrefslogtreecommitdiff
path: root/nt
diff options
context:
space:
mode:
Diffstat (limited to 'nt')
-rw-r--r--nt/makefile.def7
1 files changed, 7 insertions, 0 deletions
diff --git a/nt/makefile.def b/nt/makefile.def
index 39717c24cdb..9d18d00b271 100644
--- a/nt/makefile.def
+++ b/nt/makefile.def
@@ -21,6 +21,10 @@
# BEGIN CONFIGURATION
#
+# Define the following to build the GUI version
+#
+NTGUI=1
+
# Set INSTALL_DIR to be the directory into which you want emacs installed.
#
!ifndef INSTALL_DIR
@@ -131,6 +135,9 @@ CFLAGS = $(CFLAGS_COMMON) -D_CRTAPI1=_cdecl
!else
CFLAGS = $(CFLAGS_COMMON)
!endif
+!ifdef NTGUI
+CFLAGS = $(CFLAGS) -DHAVE_NTGUI=1
+!endif
OBJDIR = obj
$(OBJDIR):; -mkdir $(OBJDIR)