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