From ce7c8c96bc1b1021cedc003a303f474518d02294 Mon Sep 17 00:00:00 2001 From: Nishi Date: Wed, 18 Sep 2024 08:46:50 +0000 Subject: [PATCH] add win32.mk git-svn-id: file:///raid/svn-personal/tewi/trunk@42 8739d7e6-ffea-ec47-b151-bdff447c6205 --- Platform/win32.mk | 11 +++++++++++ Platform/win64.mk | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 Platform/win32.mk diff --git a/Platform/win32.mk b/Platform/win32.mk new file mode 100644 index 0000000..d7c96c0 --- /dev/null +++ b/Platform/win32.mk @@ -0,0 +1,11 @@ +# $Id$ + +PREFIX = C:/Tewi + +CC = i686-w64-mingw32-gcc +AR = i686-w64-mingw32-ar +CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -I $(PWD)/openssl/include -fPIC +LDFLAGS = -L $(PWD)/openssl/lib32 +LIBS = -lws2_32 +EXEC = .exe +LIB = .dll diff --git a/Platform/win64.mk b/Platform/win64.mk index 265225b..304b0db 100644 --- a/Platform/win64.mk +++ b/Platform/win64.mk @@ -5,7 +5,7 @@ PREFIX = C:/Tewi CC = x86_64-w64-mingw32-gcc AR = x86_64-w64-mingw32-ar CFLAGS = -g -std=c99 -DPREFIX=\"$(PREFIX)\" -I $(PWD)/Common -I $(PWD)/openssl/include -fPIC -LDFLAGS = -L $(PWD)/openssl/lib +LDFLAGS = -L $(PWD)/openssl/lib64 LIBS = -lws2_32 EXEC = .exe LIB = .dll -- 2.43.0