mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-02-03 21:52:24 +00:00
RDB patch: disable incremental linking and disable debugging
[originally from svn r416]
This commit is contained in:
parent
7cda7dc475
commit
dfd6e3ffe4
13
Makefile
13
Makefile
@ -30,6 +30,13 @@
|
|||||||
##--
|
##--
|
||||||
|
|
||||||
CFLAGS = /nologo /W3 /YX /O2 /Yd /D_WINDOWS /DDEBUG /ML /Fd
|
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:
|
.c.obj:
|
||||||
cl $(COMPAT) $(FWHACK) $(CFLAGS) /c $*.c
|
cl $(COMPAT) $(FWHACK) $(CFLAGS) /c $*.c
|
||||||
@ -72,13 +79,13 @@ LIBS2 = wsock32.lib comctl32.lib comdlg32.lib
|
|||||||
all: putty.exe puttytel.exe pscp.exe
|
all: putty.exe puttytel.exe pscp.exe
|
||||||
|
|
||||||
putty.exe: $(GOBJS1) $(GOBJS2) $(POBJS) $(MOBJS) $(OBJS1) $(OBJS2) $(PRESRC) putty.rsp
|
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
|
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
|
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
|
putty.rsp: makefile
|
||||||
echo /nologo /subsystem:windows > putty.rsp
|
echo /nologo /subsystem:windows > putty.rsp
|
||||||
|
Loading…
Reference in New Issue
Block a user