blob: f8f77517bcb992fede5d1b33fd2981073426a432 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
PREFIX = /usr
MANPREFIX = $(PREFIX)/share/man
CC = c99
DRM_LIBS = libdrm
GEOCLUE_LIBS = glib-2.0 gio-2.0
RANDR_LIBS = xcb xcb-randr
VIDMODE_LIBS = x11 xxf86vm
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
CFLAGS = $$(pkg-config --cflags $(DRM_LIBS) $(GEOCLUE_LIBS) $(RANDR_LIBS) $(VIDMODE_LIBS))
LDFLAGS = $$(pkg-config --libs $(DRM_LIBS) $(GEOCLUE_LIBS) $(RANDR_LIBS) $(VIDMODE_LIBS)) -lm
|