update README
[sfm.git] / config.mk
blob6b00007de38fc7b7e39a2f0649974e18f1833721
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 = -pthread -s
13 # compiler and linker
14 CC = cc