From 65e2b30c97746dc87e6d7bf8f6cfffa42bf35e4f Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 18 Sep 2012 23:07:42 +0000 Subject: [PATCH] Better document the various environments with which Makefile.cyg works. git-svn-id: svn://svn.tartarus.org/sgt/putty@9670 cda61777-01e9-0310-a592-d414129be87e --- README | 6 +++++- mkfiles.pl | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/README b/README index 8f2c2116..72fc68c3 100644 --- a/README +++ b/README @@ -40,7 +40,7 @@ For building on Windows: Makefile.bor' while in the `windows' subdirectory to build all the PuTTY binaries. - - windows/Makefile.cyg is for Cygwin / mingw32 installations. Type + - windows/Makefile.cyg is for Cygwin / MinGW installations. Type `make -f Makefile.cyg' while in the `windows' subdirectory to build all the PuTTY binaries. @@ -106,6 +106,10 @@ For building on Unix: Subversion then you will need to have built these using Halibut first - see below. + - It's also possible to build the Windows version of PuTTY to run + on Unix by using Winelib. To do this, change to the `windows' + directory and run `make -f Makefile.cyg CC=winegcc RC=wrc'. + All of the Makefiles are generated automatically from the file `Recipe' by the Perl script `mkfiles.pl' (except for the Unix one, which is generated by the `configure' script; mkfiles.pl only diff --git a/mkfiles.pl b/mkfiles.pl index 3786d311..b52bf91d 100755 --- a/mkfiles.pl +++ b/mkfiles.pl @@ -433,7 +433,7 @@ if (defined $makefiles{'cygwin'}) { ##-- CygWin makefile open OUT, ">$makefiles{'cygwin'}"; select OUT; print - "# Makefile for $project_name under cygwin.\n". + "# Makefile for $project_name under Cygwin, MinGW, or Winelib.\n". "#\n# This file was created by `mkfiles.pl' from the `Recipe' file.\n". "# DO NOT EDIT THIS FILE DIRECTLY; edit Recipe or mkfiles.pl instead.\n"; # gcc command line option is -D not /D -- 2.11.0