1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 09:58:01 +00:00

Makefile.cyg now generates a link map.

[originally from svn r3861]
This commit is contained in:
Jacob Nevins 2004-02-13 00:40:45 +00:00
parent c6d8ab8bd3
commit 8b2e775547

View File

@ -336,6 +336,7 @@ foreach $p (&prognames("GC")) {
my $mw = $type eq "G" ? " -mwindows" : ""; my $mw = $type eq "G" ? " -mwindows" : "";
$libstr = &objects($p, undef, undef, "-lX"); $libstr = &objects($p, undef, undef, "-lX");
print &splitline("\t\$(CC)" . $mw . " \$(LDFLAGS) -o \$@ " . print &splitline("\t\$(CC)" . $mw . " \$(LDFLAGS) -o \$@ " .
"-Wl,-Map,$prog.map " .
$objstr . " $libstr", 69), "\n\n"; $objstr . " $libstr", 69), "\n\n";
} }
foreach $d (&deps("X.o", "X.res.o", "", "/")) { foreach $d (&deps("X.o", "X.res.o", "", "/")) {