summaryrefslogtreecommitdiff
path: root/config.mk
blob: 1e22f67d08cc8702b65856d2ed4e3ffb53768465 (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.0
RELDATE = 2012-08-19

# 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)