X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=Makefile;h=37628e820172cb2e3627a83e3502ed940ff60f5f;hb=ce35a4ab9416d3b1002fabd592f61e1cb3641b12;hp=2f19ab265423e013db0a98fe5f788edafa99a499;hpb=8665bc674695c743524070095f96407f3c54d3e9;p=PuTTY.git diff --git a/Makefile b/Makefile index 2f19ab26..37628e82 100644 --- a/Makefile +++ b/Makefile @@ -5,15 +5,18 @@ # `VER=/DRELEASE=0.43' to get version numbering; otherwise you'll # get `Unidentified build'. +# COMPAT=/DWIN32S_COMPAT will produce a binary that works (minimally) +# with Win32s + CFLAGS = /nologo /W3 /YX /O2 /Yd /D_WINDOWS /DDEBUG /ML /Fd .c.obj: - cl $(FWHACK) $(CFLAGS) /c $*.c + cl $(COMPAT) $(FWHACK) $(CFLAGS) /c $*.c -PUTTYOBJS = window.obj windlg.obj terminal.obj telnet.obj +PUTTYOBJS = window.obj windlg.obj terminal.obj telnet.obj raw.obj OBJS1 = misc.obj noise.obj OBJS2 = ssh.obj sshcrc.obj sshdes.obj sshmd5.obj sshrsa.obj sshrand.obj -OBJS3 = sshsha.obj sshblowf.obj version.obj +OBJS3 = sshsha.obj sshblowf.obj version.obj sizetip.obj RESRC = win_res.res LIBS1 = advapi32.lib user32.lib gdi32.lib LIBS2 = wsock32.lib comctl32.lib comdlg32.lib @@ -39,10 +42,12 @@ link.rsp: makefile echo $(LIBS1) >> link.rsp echo $(LIBS2) >> link.rsp -window.obj: window.c putty.h win_res.h +window.obj: window.c putty.h win_res.h sizetip.h windlg.obj: windlg.c putty.h ssh.h win_res.h terminal.obj: terminal.c putty.h +sizetip.obj: sizetip.c putty.h telnet.obj: telnet.c putty.h +raw.obj: raw.c putty.h misc.obj: misc.c putty.h noise.obj: noise.c putty.h ssh.h ssh.obj: ssh.c ssh.h putty.h