diff options
author | Nick White <git@njw.name> | 2021-11-03 13:23:35 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2021-11-03 13:23:35 +0000 |
commit | ba689997defb7be6c912934fe81d97465603415e (patch) | |
tree | 785756af24f1bfc653902aea1e4fa7e254c58069 /config.mk | |
parent | 0e4276a1ac3b6683619179a180fd76ecd20dc54b (diff) |
Update windows build config and add a basic guide to get it working
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -11,8 +11,6 @@ LIBS = -lssl -lcrypto CFLAGS = -std=c99 -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L \ -DVERSION=\"$(VERSION)\" -W32TCLKIT = tclkit-8.5.9-win32.upx.exe - # glibc dynamic CC = cc LDFLAGS = $(LIBS) @@ -22,9 +20,11 @@ LDFLAGS = $(LIBS) #LDFLAGS = $(LIBS) -static #-s # mingw +#W32TCLKIT = tclkit-gui-8_6_11-twapi-4_5_2-x86-max.exe +#OPENSSLDIR = $(HOME)/tmp/openssl-1.1.1l #CC = i686-w64-mingw32-gcc #AR = i686-w64-mingw32-ar -#CFLAGS = -ansi -Wall -DVERSION=\"$(VERSION)\" -DWINVER=0x0501 -#LDFLAGS = $(LIBS) -lws2_32 +#CFLAGS = -ansi -Wall -DVERSION=\"$(VERSION)\" -DWINVER=0x0501 -I$(OPENSSLDIR)/include +#LDFLAGS = -L$(OPENSSLDIR) $(LIBS) -lws2_32 -static LD = $(CC) |