Cleanup vt_write
[dvtm.git] / config.mk
blobfa16046fce0d3fe55ec25eb8632e508bb7d6174e
1 # dvtm version
2 VERSION = 0.12
4 # Customize below to fit your system
6 PREFIX ?= /usr/local
7 MANPREFIX = ${PREFIX}/share/man
8 # specify your systems terminfo directory
9 # leave empty to install into your home folder
10 TERMINFO := ${DESTDIR}${PREFIX}/share/terminfo
12 INCS = -I.
13 LIBS = -lc -lutil -lncursesw
14 # NetBSD
15 #LIBS = -lc -lutil -lcurses
16 # AIX
17 #LIBS = -lc -lncursesw
18 # Solaris
19 #INCS = -I/usr/include/ncurses
20 #LIBS = -lc -lncursesw
21 # Cygwin
22 #INCS = -I/usr/include/ncurses
24 CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700
25 LDFLAGS += ${LIBS}
27 DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall -Wextra -Wno-unused-parameter
29 CC = cc
30 STRIP = strip