dunst/config.mk
Sascha Kruse bdf1561cb6 add -v/--version option.
This partially overrides the verbosity option, but that was poorly
implemented and needs to be reworked anyway.
2012-06-28 20:12:36 +02:00

32 lines
773 B
Makefile

# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
VERSION="pre-0.3.0"
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
# Xft, comment if you don't want it
XFTINC = -I/usr/include/freetype2
XFTLIBS = -lXft
# Xinerama, comment if you don't want it
XINERAMALIBS = -lXinerama
XINERAMAFLAGS = -DXINERAMA
# inih flags
INIFLAGS = -DINI_ALLOW_MULTILINE=0
# includes and libs
INCS = -I${X11INC} $(shell pkg-config --cflags dbus-1 libxdg-basedir) ${XFTINC}
LIBS = -L${X11LIB} -lX11 -lXss ${XFTLIBS} ${XINERAMALIBS} $(shell pkg-config --libs dbus-1 libxdg-basedir)
# flags
CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} ${INIFLAGS}
CFLAGS = -g -ansi -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = ${LIBS}
# compiler and linker
CC = cc