X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=Makefile;h=ea73ed47b484a12af09e763e265e7b7dd3591b90;hb=382ffaf0262c8b552cf5bd32dbf922ceacbf921d;hp=8f5bbd7171a7f97e33abf3e5e4507932fa86cf22;hpb=d345ebc2a5a0b599be5ce4462ef6d7a9b510497a;p=PuTTY.git diff --git a/Makefile b/Makefile index 8f5bbd71..ea73ed47 100644 --- a/Makefile +++ b/Makefile @@ -40,6 +40,12 @@ # build, since at the time of writing this is known # not to be available in Cygwin. # +# - COMPAT=/DNO_MULTIMON +# Disables PuTTY's use of , 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 @@ -67,7 +73,7 @@ # LFLAGS = /debug # Disable debug and incremental linking and compiling -CFLAGS = /nologo /W3 /O1 /D_WINDOWS /D_WIN32_WINDOWS=0x401 +CFLAGS = /nologo /W3 /O1 /D_WINDOWS /D_WIN32_WINDOWS=0x401 /DWINVER=0x401 LFLAGS = /incremental:no /fixed # Use MSVC DLL @@ -168,7 +174,7 @@ plink.exe: $(LOBJS1) $(POBJS) $(PLOBJS) $(MOBJS) $(MOBJ2) $(OBJS1) $(OBJS2) $(OB 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