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