aboutsummaryrefslogtreecommitdiff
path: root/config.mk
blob: ba76118503296da802a4724e18178c20005f2bad (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
# See LICENSE for copyright information
VERSION = 5.1.1

# Paths
PREFIX    = /usr/local
BINDIR    = ${PREFIX}/bin
SHAREDIR  = ${PREFIX}/share
DOCDIR    = ${SHAREDIR}/doc
CPTDOC    = ${DOCDIR}/cpt
MANPREFIX = ${SHAREDIR}/man
MAN1      = ${MANPREFIX}/man1

# Flags
CFLAGS  = -std=c99 -Wpedantic -Wall -Os
CFLAGS += -D_XOPEN_SOURCE=700
LDFLAGS = -s -static
LIBS    = -lc

# C compiler and linker
CC = cc
LD = ${CC}

# Documentation tools
EMACS = emacs
MAKEINFO = makeinfo