Makefile fix: we've been compiling ssh.c separately because it needs
[u/mdw/putty] / Makefile
index b30a608..ea73ed4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -174,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