Add an option to disable alternative screens.
[st.git] / config.mk
blob88355c714f4aadc43644726c029235f65ed74b7a
1 # st version
2 VERSION = 0.4
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 $(shell pkg-config --cflags fontconfig) \
16 $(shell pkg-config --cflags freetype2)
17 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lutil -lXext -lXft \
18 $(shell pkg-config --libs fontconfig) \
19 $(shell 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