config.mk (455B)
1 # See LICENSE file for copyright and license details. 2 # bf version 3 VERSION = 0.1 4 5 # paths 6 PREFIX = /usr/local 7 MANPREFIX = ${PREFIX}/share/man 8 # OpenBSD 9 #MANPREFIX = ${PREFIX}/man 10 11 # includes and libs 12 INCS = -Iinclude 13 LIBS = -Llib 14 15 # flags 16 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L \ 17 -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\" 18 CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} 19 LDFLAGS = ${LIBS} 20 21 # compiler 22 CC = cc