JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Fixing an out-of-bound bug in the selection code. Thanks Szabolczs Nagy!
[st.git] / config.mk
1 # st version
2 VERSION = 0.3
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} -I/usr/include/freetype2
15 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft -lfontconfig
16
17 # flags
18 CPPFLAGS = -DVERSION=\"${VERSION}\"
19 CFLAGS += -g -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
20 LDFLAGS += -g ${LIBS}
21
22 # compiler and linker
23 CC ?= cc