From 5415b8293067e02ea743321dbefdcbed72a114cc Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Thu, 13 Sep 2012 21:53:47 +0000 Subject: [PATCH] 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). [originally from svn r9661] --- mkfiles.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 2.45.2