summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index 2050380..0403026 100644
--- a/config.mk
+++ b/config.mk
@@ -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)