blob: 948e8b48facf186823d36c3c679d5c8d6e1c4337 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# See COPYING file for copyright and license details.
VERSION = 1.1
RELDATE = 2013-10-13
# paths
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)\"
W32TCLKIT = tclkit-8.5.9-win32.upx.exe
# glibc dynamic
CC = cc
LDFLAGS = $(LIBS)
# musl static
#CC = musl-gcc
#LDFLAGS = $(LIBS) -static #-s
# mingw
#CC = i686-w64-mingw32-gcc
#AR = i686-w64-mingw32-ar
#CFLAGS = -ansi -Wall -DVERSION=\"$(VERSION)\" -DWINVER=0x0501
#LDFLAGS = $(LIBS) -lws2_32
LD = $(CC)
|