recipes: xorg/driver/xf86-video-i128: upgraded to version 1.4.0
[dragora.git] / archive / dmenu / config.mk
blob0e5cc5a188d5953f4573003d8c12afc64e01c032
1 # dmenu version
2 VERSION = 4.8
4 # paths
5 PREFIX = /usr
6 MANPREFIX = ${PREFIX}/share/man
8 X11INC = /usr/include/X11
9 X11LIB = /usr/lib/X11
11 # Xinerama, comment if you don't want it
12 XINERAMALIBS = -lXinerama
13 XINERAMAFLAGS = -DXINERAMA
15 # freetype
16 FREETYPELIBS = -lfontconfig -lXft
17 FREETYPEINC = /usr/include/freetype2
18 # OpenBSD (uncomment)
19 #FREETYPEINC = ${X11INC}/freetype2
21 # includes and libs
22 INCS = -I${X11INC} -I${FREETYPEINC}
23 LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
25 # flags
26 CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
27 CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
28 LDFLAGS = ${LIBS}
30 # compiler and linker
31 CC = cc