]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
Add MSVC to Makefile
authorMarius Storm-Olsen <mstormo@gmail.com>
Wed, 16 Sep 2009 08:20:28 +0000 (10:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Sep 2009 03:00:42 +0000 (20:00 -0700)
commit164a5e3faab931a6c6459b56acae7f91dde6337d
treed7c27149d5635529df9f2935411317882cb700c0
parent386ac45102df71e186d4de62b63a41ae35e71089
Add MSVC to Makefile

Enable MSVC builds with GNU Make by simply calling
    make MSVC=1
(Debug build possible by adding DEBUG=1 as well)

Two scripts, clink.pl and lib.pl, are used to convert certain GCC
specific command line options into something MSVC understands.
By building for MSVC with GNU Make, we can ensure that the MSVC
port always follows the latest code, and does not lag behind due
to unmaintained NMake Makefile or IDE projects.

Signed-off-by: Marius Storm-Olsen <mstormo@gmail.com>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
compat/vcbuild/scripts/clink.pl [new file with mode: 0644]
compat/vcbuild/scripts/lib.pl [new file with mode: 0644]