[refactor] validate_dyn, pledge, N & n options
[splanner.git] / config.mk
blob051fc19ddaef567c8bf1c33eacb66951a0ad746d
1 # splanner version
2 VERSION = 0.1
4 # Customize below to fit your system
6 # paths
7 PREFIX = /usr/local
8 MANPREFIX = ${PREFIX}/share/man
10 #includes and libs
11 STD = -std=c99
12 WARN = -pedantic -Wextra -Wall
13 LIBS = -lm
15 # flags
16 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\"
17 CFLAGS = ${STD} ${WARN} -Os ${CPPFLAGS}
18 LDFLAGS = ${LIBS}
20 # compiler and linker
21 CC = cc