Add 8 bit version of HTS
[st.git] / config.mk
blob298484ee71a56df0c19d0c67a6a573c4eb9c93c7
1 # st version
2 VERSION = 0.5
4 # Customize below to fit your system
6 # paths
7 PREFIX = /usr/local
8 MANPREFIX = ${PREFIX}/share/man
10 X11INC = /usr/X11R6/include
11 X11LIB = /usr/X11R6/lib
13 # includes and libs
14 INCS = -I. -I/usr/include -I${X11INC} \
15 `pkg-config --cflags fontconfig` \
16 `pkg-config --cflags freetype2`
17 LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXext -lXft \
18 `pkg-config --libs fontconfig` \
19 `pkg-config --libs freetype2`
21 # flags
22 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_XOPEN_SOURCE=600
23 CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS}
24 LDFLAGS += -g ${LIBS}
26 # compiler and linker
27 CC ?= cc