From: Nishi Date: Wed, 18 Sep 2024 08:46:50 +0000 (+0000) Subject: add win32.mk X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=ce7c8c96bc1b1021cedc003a303f474518d02294;p=tewi.git add win32.mk git-svn-id: file:///raid/svn-personal/tewi/trunk@42 8739d7e6-ffea-ec47-b151-bdff447c6205 --- 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