diff options
Diffstat (limited to 'src/config.mk')
-rw-r--r-- | src/config.mk | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/config.mk b/src/config.mk new file mode 100644 index 0000000..f8f7751 --- /dev/null +++ b/src/config.mk @@ -0,0 +1,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 |