JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Implement Xdbe-based double-buffering
[st.git] / config.mk
1 # st version
2 VERSION = 0.2.1-tip
3
4 # Customize below to fit your system
5
6 # paths
7 PREFIX = /usr/local
8 MANPREFIX = ${PREFIX}/share/man
9
10 X11INC = /usr/X11R6/include
11 X11LIB = /usr/X11R6/lib
12
13 # includes and libs
14 INCS = -I. -I/usr/include -I${X11INC}
15 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext
16
17 # flags
18 CPPFLAGS = -DVERSION=\"${VERSION}\"
19 CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
20 LDFLAGS += -s ${LIBS}
21
22 # compiler and linker
23 CC ?= cc