From: ben Date: Thu, 13 Sep 2012 21:53:47 +0000 (+0000) Subject: In the cygwin Makefile, use "-o" on the windres command line to specify X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/3ffd1ef5d543a9243f8577714711eeb2c5d6bab8 In the cygwin Makefile, use "-o" on the windres command line to specify the output file. This appears to be supported by windres, and is required by wrc (the Winelib resource compiler). git-svn-id: svn://svn.tartarus.org/sgt/putty@9661 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/mkfiles.pl b/mkfiles.pl index 7cb42fb6..c87ae4e6 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -484,7 +484,7 @@ if (defined $makefiles{'cygwin'}) { join " ", @{$d->{deps}})), "\n"; } if ($d->{obj} =~ /\.res\.o$/) { - print "\t\$(RC) \$(RCFL) \$(RCFLAGS) ".$d->{deps}->[0]." ".$d->{obj}."\n\n"; + print "\t\$(RC) \$(RCFL) \$(RCFLAGS) ".$d->{deps}->[0]." -o ".$d->{obj}."\n\n"; } else { print "\t\$(CC) \$(COMPAT) \$(CFLAGS) \$(XFLAGS) -c ".$d->{deps}->[0]."\n\n"; }