]> asedeno.scripts.mit.edu Git - PuTTY.git/commit - testbn.c
Promote 'testbn' to a binary built by the makefiles.
authorSimon Tatham <anakin@pobox.com>
Wed, 16 Dec 2015 14:40:00 +0000 (14:40 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 16 Dec 2015 15:26:31 +0000 (15:26 +0000)
commitdaeeca55a4ef109539dc3e67b758299cc03d35ea
tree47c3acecdba447026fb7570ddfef975c75478296
parent84cd309295c12e7a8a3a7bc37280f8d7859b4a8b
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
Recipe
sshbn.c
testbn.c [new file with mode: 0644]