X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Makefile;h=cc7dff90b60c6a36c88f4cb857c3e97500313c48;hb=0a09aeec6f4e9b0514fd1917c8deb052f2f94f47;hp=1d82af9441d5fdcdf9b07136e370a4616fa345a5;hpb=47db98efd203219f38b7545295a2b60c1802816a;p=i3%2Fi3lock diff --git a/Makefile b/Makefile index 1d82af9..cc7dff9 100644 --- a/Makefile +++ b/Makefile @@ -12,14 +12,15 @@ CFLAGS += -pipe CFLAGS += -Wall CPPFLAGS += -D_GNU_SOURCE ifndef NOLIBCAIRO -CFLAGS += $(shell pkg-config --cflags cairo xcb-keysyms xcb-dpms) -LIBS += $(shell pkg-config --libs cairo xcb-keysyms xcb-dpms xcb-image) +CFLAGS += $(shell pkg-config --cflags cairo xcb-keysyms xcb-dpms xcb-xinerama) +LIBS += $(shell pkg-config --libs cairo xcb-keysyms xcb-dpms xcb-xinerama xcb-image) else CPPFLAGS += -DNOLIBCAIRO -CFLAGS += $(shell pkg-config --cflags xcb-keysyms xcb-dpms) -LIBS += $(shell pkg-config --libs xcb-keysyms xcb-dpms xcb-image) +CFLAGS += $(shell pkg-config --cflags xcb-keysyms xcb-dpms xcb-xinerama) +LIBS += $(shell pkg-config --libs xcb-keysyms xcb-dpms xcb-image xcb-xinerama) endif LIBS += -lpam +LIBS += -lev FILES:=$(wildcard *.c) FILES:=$(FILES:.c=.o)