[fix] buffer overflow at realpath()
[sfm.git] / config.mk
blob8b632c62e760a8761da6a152a36cf5694a0583a8
1 # sfm version
2 VERSION = 0.1
4 # paths
5 PREFIX = /usr/local
6 MANPREFIX = ${PREFIX}/share/man
8 # flags
9 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\"
10 CFLAGS = -std=c99 -pedantic -Wextra -Wall -Os ${CPPFLAGS}
11 LDFLAGS = -s
13 # compiler and linker
14 CC = cc