aboutsummaryrefslogtreecommitdiff
path: root/config.mk
blob: 6d44af5419250e193eca62765803468592ed99dc (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.2

# 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