diff options
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -6,6 +6,8 @@ RELDATE = 2013-10-13 PREFIX = /usr/local MANPREFIX = $(PREFIX)/share/man +LIBS = -lssl -lcrypto + CFLAGS = -std=c99 -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L \ -DVERSION=\"$(VERSION)\" @@ -13,16 +15,16 @@ W32TCLKIT = tclkit-8.5.9-win32.upx.exe # glibc dynamic CC = cc -LDFLAGS = +LDFLAGS = $(LIBS) # musl static #CC = musl-gcc -#LDFLAGS = -static #-s +#LDFLAGS = $(LIBS) -static #-s # mingw #CC = i686-w64-mingw32-gcc #AR = i686-w64-mingw32-ar #CFLAGS = -ansi -Wall -DVERSION=\"$(VERSION)\" -DWINVER=0x0501 -#LDFLAGS = -lws2_32 +#LDFLAGS = $(LIBS) -lws2_32 LD = $(CC) |