diff options
author | Nick White <git@njw.me.uk> | 2011-08-17 18:58:39 +0100 |
---|---|---|
committer | Nick White <git@njw.me.uk> | 2011-08-17 18:58:39 +0100 |
commit | adc5f128fcf3cb75b9130a7cc36e3681b1817284 (patch) | |
tree | 22605e233ab98bdb5c6b5ce144d4677ecc0480b3 /config.mk | |
parent | e6037966d0fc676b78bce9a4dd0b7776ab9f4a7b (diff) |
Allow mingw building (socket reading won't work yet)
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -15,4 +15,9 @@ CFLAGS = -ansi -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L \ CC = cc LDFLAGS = +# mingw +CC = gcc +CFLAGS = -ansi -Wall -DVERSION=\"$(VERSION)\" -DWINVER=0x0501 +LDFLAGS = -lws2_32 + LD = $(CC) |