# build, since at the time of writing this <aclapi.h> is known
# not to be available in Cygwin.
#
+# - COMPAT=/DNO_MULTIMON
+# Disables PuTTY's use of <multimon.h>, which is not available
+# with some development environments. This means that PuTTY's
+# full-screen mode (configurable to work on Alt-Enter) will
+# not behave usefully in a multi-monitor environment.
+#
# - RCFL=/DASCIICTLS
# Uses ASCII rather than Unicode to specify the tab control in
# the resource file. Probably most useful when compiling with
link $(LFLAGS) -out:plink.exe -map:plink.map @plink.rsp
ssh.obj:
- cl $(FWHACK) $(VER) $(CFLAGS) /Gi- /c ssh.c
+ cl $(COMPAT) $(FWHACK) $(VER) $(XFLAGS) $(CFLAGS) /Gi- /c ssh.c
putty.rsp: makefile
echo /nologo /subsystem:windows > putty.rsp