Commit Graph

4 Commits

Author SHA1 Message Date
Alex Crichton
a9b3fe2e19 windows: tweak Makefile.mingw for easier usage
Default CC to `gcc` instead of `cc` because at least on the mingw
installation I had there was no `cc` executable. This avoids having
to type `CC=gcc` in all the `make` commands.

Also append to `CFLAGS` instead of defining if not previously defined.
These flags are required to build libuv, so they should not be
overridden if other extra CFLAGS are supplied via the command
line as well.
2013-08-25 16:01:33 +02:00
Ben Noordhuis
d5ab1c1a3b Revert "build: remove mingw makefile"
As requested by the Rust people.

This reverts commit 8f3621e4dd.
2013-08-26 22:05:01 +02:00
Ben Noordhuis
8f3621e4dd build: remove mingw makefile
Commit e52aa6c adds MinGW support to the autotools build.  Remove the
Makefile, it's no longer needed.
2013-08-24 21:50:08 +02:00
Ben Noordhuis
977e8337ba build: add mingw makefile
* add a very simple Makefile.mingw that builds libuv.a
* apply a couple of fixes to src/win so it actually builds with mingw
  (mostly missing includes)

Fixes #847.
2013-07-25 02:13:28 +02:00