From dfd6e3ffe477c69a55c9fb1a0a881b21df7f3dbf Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 17 Mar 2000 10:30:21 +0000 Subject: [PATCH] RDB patch: disable incremental linking and disable debugging [originally from svn r416] --- Makefile | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d34efd90..54bf49ed 100644 --- a/Makefile +++ b/Makefile @@ -30,6 +30,13 @@ ##-- CFLAGS = /nologo /W3 /YX /O2 /Yd /D_WINDOWS /DDEBUG /ML /Fd +# LFLAGS = /debug + +# Use MSVC DLL +# CFLAGS = /nologo /W3 /YX /O2 /Yd /D_WINDOWS /DDEBUG /ML /Fd + +# Disable debug and incremental linking +LFLAGS = /incremental:no .c.obj: cl $(COMPAT) $(FWHACK) $(CFLAGS) /c $*.c @@ -72,13 +79,13 @@ LIBS2 = wsock32.lib comctl32.lib comdlg32.lib all: putty.exe puttytel.exe pscp.exe putty.exe: $(GOBJS1) $(GOBJS2) $(POBJS) $(MOBJS) $(OBJS1) $(OBJS2) $(PRESRC) putty.rsp - link /debug -out:putty.exe @putty.rsp + link $(LFLAGS) -out:putty.exe @putty.rsp puttytel.exe: $(GOBJS1) $(GOBJS2) $(TOBJS) $(MOBJS) $(TRESRC) puttytel.rsp - link /debug -out:puttytel.exe @puttytel.rsp + link $(LFLAGS) -out:puttytel.exe @puttytel.rsp pscp.exe: $(SOBJS) $(OBJS1) $(OBJS2) $(OBJS3) $(SRESRC) pscp.rsp - link /debug -out:pscp.exe @pscp.rsp + link $(LFLAGS) -out:pscp.exe @pscp.rsp putty.rsp: makefile echo /nologo /subsystem:windows > putty.rsp