blob: 1bcb708438b2f39b8d8f61465ca2a6511a73019d (
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
31
|
# -*- mode: redo -*-
# See LICENSE for copyright information
# This loads some functions that are shared between redo files.
# shellcheck source=./lib.rc
. "${SRC_ROOT:=.}/lib.rc"
setv VERSION = 5.1.1
# Paths
setv PREFIX = /usr/local
setv BINDIR = "${PREFIX}/bin"
setv SHAREDIR = "${PREFIX}/share"
setv DOCDIR = "${SHAREDIR}/doc"
setv CPTDOC = "${DOCDIR}/cpt"
setv INFODIR = "${SHAREDIR}/info"
setv MANPREFIX = "${SHAREDIR}/man"
setv MAN1 = "${MANPREFIX}/man1"
# Flags
setv CFLAGS = -std=c99 -Wpedantic -Wall -Os
setv CFLAGS += -D_XOPEN_SOURCE=700
setv LDFLAGS = -s -static
setv LIBS = -lc
setv CC = cc
setv LD = "${CC}"
# Documentation tools
setv EMACS = emacs
setv MAKEINFO = makeinfo
|