]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Switch Makefile.vc to using batch-mode inference rules.
authorSimon Tatham <anakin@pobox.com>
Wed, 16 Dec 2015 18:27:32 +0000 (18:27 +0000)
committerSimon Tatham <anakin@pobox.com>
Wed, 16 Dec 2015 18:49:07 +0000 (18:49 +0000)
commit198bca233a86182302bd6a29fb9f9fc68c60f94c
tree8b5c45423d7c769977b1f132f4803a35a666d06c
parent7f95ebc0bf2bda1d7d71421fd1a7c3669a0e5c7a
Switch Makefile.vc to using batch-mode inference rules.

This enables it to combine the compilation of multiple source files
into a single 'cl' command with multiple input file arguments, which
speeds up the build noticeably.

(I think nmake could be doing a lot more to improve this - for a
start, I haven't found any way to let it aggregate compilations of
source files in more than one directory, and also, it seems to me that
it really ought to be able to reduce down to just _one_ invocation of
cl by choosing the best topological sort of its build operations,
whereas in fact it looks as if it's sorting the operations _before_
doing the aggregation. But even so, it's a big improvement on the
previous build time.)
mkfiles.pl