]> Nishi Git Mirror - libw3.git/commitdiff
better target
authornishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Wed, 17 Jan 2024 09:40:00 +0000 (09:40 +0000)
committernishi <nishi@d27a3e52-49c5-7645-884c-6793ebffc270>
Wed, 17 Jan 2024 09:40:00 +0000 (09:40 +0000)
git-svn-id: file:///raid/svn-main/nishi-libw3/trunk@16 d27a3e52-49c5-7645-884c-6793ebffc270

Makefile

index 93c5786dcd6211b906d6800ca449d5d23533ac1b..4202a7d1fda7061bf929b365308c68a3c641f2ab 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -12,6 +12,16 @@ CFLAGS += -DSSL_SUPPORT
 LIBS += -lssl -lcrypto
 endif
 
+ifdef WIN32
+CC := i686-w64-mingw32-gcc
+WINDOWS := YES
+endif
+
+ifdef WIN64
+CC := x86_64-w64-mingw32-gcc
+WINDOWS := YES
+endif
+
 ifdef WINDOWS
 LIBS += -lws2_32
 endif