Fix typo in README and manual
[line_util.git] / config.mk
blobeddd87dd1046393a94378a72190e803b861a32f0
1 PROG = line
3 # compiler
4 CC = cc
6 # flags
7 CFLAGS = -std=c99 -O2 -Wall -Wextra -Wpedantic \
8 -Walloca -Wcast-qual -Wconversion -Wformat=2 -Wformat-security \
9 -Wnull-dereference -Wstack-protector -Wvla -Warray-bounds \
10 -Wbad-function-cast -Wconversion -Wshadow -Wstrict-overflow=4 -Wundef \
11 -Wstrict-prototypes -Wswitch-default -Wfloat-equal -Wimplicit-fallthrough \
12 -Wpointer-arith -Wswitch-enum \
13 -D_FORTIFY_SOURCE=2 \
14 -fstack-protector-strong -fPIE -fstack-clash-protection
16 LDFLAGS = -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -Wl,-z,separate-code
18 # libs
19 LDLIBS =
21 # paths
22 PREFIX = /usr/local
23 MANPREFIX = ${PREFIX}/share/man
25 RM = rm