summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorNick White <git@njw.me.uk>2012-08-21 20:01:40 +0100
committerNick White <git@njw.me.uk>2012-08-21 20:01:40 +0100
commit19342a9b22209d023d5973f1184cf95ca0d9bea5 (patch)
tree1d287be099d999cf441617302e9ceab46f038aab /config.mk
parent5d0c097e692d6685269150167bc757866033e1f3 (diff)
Make mingw cross-compiling from debian work
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk11
1 files changed, 6 insertions, 5 deletions
diff --git a/config.mk b/config.mk
index d214513..1e22f67 100644
--- a/config.mk
+++ b/config.mk
@@ -11,16 +11,17 @@ CFLAGS = -std=c99 -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L \
W32TCLKIT = tclkit-8.5.9-win32.upx.exe
-# musl static
-#CC = musl-gcc
-#LDFLAGS = -static #-s
-
# glibc dynamic
CC = cc
LDFLAGS =
+# musl static
+#CC = musl-gcc
+#LDFLAGS = -static #-s
+
# mingw
-#CC = gcc
+#CC = i586-mingw32msvc-gcc
+#AR = i586-mingw32msvc-ar
#CFLAGS = -ansi -Wall -DVERSION=\"$(VERSION)\" -DWINVER=0x0501
#LDFLAGS = -lws2_32