config.mk (661B)
1 # See LICENSE file for copyright and license details. 2 # <++> version 3 VERSION = <++> 4 5 # paths 6 PREFIX = /usr/local 7 MANPREFIX = ${PREFIX}/share/man 8 # OpenBSD 9 #MANPREFIX = ${PREFIX}/man 10 # uncomment if you're building a library 11 #INCDIR = ${PREFIX}/include 12 #LIBDIR = ${PREFIX}/lib 13 14 # includes and libs 15 INCS = -Iinclude 16 LIBS = -Llib 17 18 # flags 19 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L \ 20 -D_XOPEN_SOURCE=700 -DVERSION=\"${VERSION}\" 21 CFLAGS = -std=<++> -pedantic -Wall -Os ${INCS} ${CPPFLAGS} 22 LDFLAGS = ${LIBS} 23 # uncomment if you're building a library 24 #ARFLAGS = rs 25 26 # compiler 27 CC = <++> 28 # uncomment if you're building a library 29 #AR = <++>