summaryrefslogtreecommitdiff
path: root/config.mk
blob: c5e3d8d47be92cb7b1aafa15753f15945ce77f77 (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
# See COPYING file for copyright and license details.
VERSION = 1.1
RELDATE = 2013-10-13

# paths
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man

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 = 

# musl static
#CC = musl-gcc
#LDFLAGS = -static #-s

# mingw
#CC = i586-mingw32msvc-gcc
#AR = i586-mingw32msvc-ar
#CFLAGS = -ansi -Wall -DVERSION=\"$(VERSION)\" -DWINVER=0x0501
#LDFLAGS = -lws2_32

LD = $(CC)