]> git.armaanb.net Git - dmenu.git/blob - config.mk
fixed bugs, no more config.h, updated manpage, new libdraw
[dmenu.git] / config.mk
1 # dmenu version
2 VERSION = 4.2
3
4 # Customize below to fit your system
5
6 # paths
7 PREFIX = /usr/local
8 MANPREFIX = ${PREFIX}/share/man
9
10 # Xlib
11 X11INC = /usr/X11R6/include
12 X11LIB = /usr/X11R6/lib
13
14 # Xinerama, comment if you don't want it
15 XINERAMALIBS  = -lXinerama
16 XINERAMAFLAGS = -DXINERAMA
17
18 # includes and libs
19 INCS = -I${X11INC}
20 LIBS = -L${X11LIB} -ldraw -lX11 ${XINERAMALIBS}
21
22 # flags
23 CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
24 CFLAGS   = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
25 LDFLAGS  = -s ${LIBS}
26
27 # compiler and linker
28 CC = cc