summaryrefslogtreecommitdiff
path: root/config.mk
blob: da98920fa182d1fa05da1ceab1f40ecb5814b0a5 (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
# customize below to fit your system

# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/man
DOCPREFIX = ${PREFIX}/share/doc/sfeed

# compiler and linker
CC = cc
AR = ar
RANLIB = ranlib

# use system flags.
SFEED_CFLAGS = ${CFLAGS}
SFEED_LDFLAGS = ${LDFLAGS}
SFEED_CPPFLAGS = -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE

# debug
#SFEED_CFLAGS = -fstack-protector-all -O0 -g -std=c99 -Wall -Wextra -pedantic \
#               -Wno-unused-parameter
#SFEED_LDFLAGS =

# optimized
#SFEED_CFLAGS = -O2 -std=c99
#SFEED_LDFLAGS = -s

# optimized static
#SFEED_CFLAGS = -static -O2 -std=c99
#SFEED_LDFLAGS = -static -s