MSVC support
authorMarko Kreen <markokr@gmail.com>
Sat, 5 Jan 2013 19:04:11 +0000 (21:04 +0200)
committerMarko Kreen <markokr@gmail.com>
Sat, 5 Jan 2013 21:51:03 +0000 (23:51 +0200)
commit7ae51e55040533b5f45af8838cfc53b327fa3abb
tree2bff2d5d0f78fbb9b4ad95b0d3c471e99450625f
parent584cc86799a2fc6ce190c603a88638003743f53e
MSVC support

* Antimake extension 'msvc'
* Hardcoded config <usual/config.msvc.h>
* More guarded headers

Usage:
1. Install coreutils and make from gnuwin32
2. Make sure VC env variables are loaded (PATH)
3. Copy build_msvc.mk to build.mk

It would be nice to make it work with MSYS/MINGW32 + VC,
but their filename mangling makes it messy.
17 files changed:
Makefile
build_msvc.mk [new file with mode: 0644]
m4/usual.m4
mk/amext-msvc.mk [new file with mode: 0644]
test/Makefile
test/test_base.c
test/test_bits.c
test/test_cfparser.c
test/test_cxalloc.c
test/test_fnmatch.c
test/test_string.c
usual/base.h
usual/base_win32.h
usual/config_msvc.h [new file with mode: 0644]
usual/event.h
usual/socket_win32.h
usual/time.h