X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Makefile;h=2633bef4262655bc4c896b3fb87c42d20eaffd61;hb=33d953fbdf4f8630e919643974f32ce6793c7c2b;hp=c82328e6d583590dfd85b88859ceba0f4e9bdd17;hpb=e1d86a327945111b99148650dc536c9ad8598cc1;p=i3%2Fi3lock diff --git a/Makefile b/Makefile index c82328e..2633bef 100644 --- a/Makefile +++ b/Makefile @@ -11,14 +11,8 @@ CFLAGS += -std=c99 CFLAGS += -pipe CFLAGS += -Wall CPPFLAGS += -D_GNU_SOURCE -CFLAGS += $(shell pkg-config --cflags xcb-dpms xcb-xinerama xkbcommon xkbfile x11 x11-xcb) -LIBS += $(shell pkg-config --libs xcb-dpms xcb-xinerama xcb-image xkbcommon xkbfile x11 x11-xcb) -ifndef NOLIBCAIRO -CFLAGS += $(shell pkg-config --cflags cairo) -LIBS += $(shell pkg-config --libs cairo) -else -CPPFLAGS += -DNOLIBCAIRO -endif +CFLAGS += $(shell pkg-config --cflags cairo xcb-dpms xcb-xinerama xcb-atom xkbcommon xkbfile x11 x11-xcb) +LIBS += $(shell pkg-config --libs cairo xcb-dpms xcb-xinerama xcb-atom xcb-image xkbcommon xkbfile x11 x11-xcb) LIBS += -lpam LIBS += -lev