simon-git: putty (master): Simon Tatham
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Wed Dec 16 15:31:53 GMT 2015
TL;DR:
daeeca5 Promote 'testbn' to a binary built by the makefiles.
Repository: git://git.tartarus.org/simon/putty.git
On the web: http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2015-12-16 15:31:53
commit daeeca55a4ef109539dc3e67b758299cc03d35ea
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=daeeca55a4ef109539dc3e67b758299cc03d35ea;hp=84cd309295c12e7a8a3a7bc37280f8d7859b4a8b
Author: Simon Tatham <anakin at pobox.com>
Date: Wed Dec 16 14:40:00 2015 +0000
Promote 'testbn' to a binary built by the makefiles.
This makes it easier to compile in multiple debugging modes, or on
Windows, without having to constantly paste annoying test-compile
commands out of comments in sshbn.c.
The new binary is compiled into the build directory, but not shipped
by 'make install', just like fuzzterm. Unlike fuzzterm, though, testbn
is also compiled on Windows, for which we didn't already have a
mechanism for building unshipped binaries; I've done the very simplest
thing for the moment, of providing a target in Makefile.vc to delete
them.
In order to comply with the PuTTY makefile system's constraint of
never compiling the same object multiple times with different ifdefs,
I've also moved testbn's main() out into its own source file.
Buildscr | 2 +-
Recipe | 11 +++
sshbn.c | 266 --------------------------------------------------------------
testbn.c | 265 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
4 files changed, 277 insertions(+), 267 deletions(-)
More information about the tartarus-commits
mailing list