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