X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Makefile;h=c910e52416c66b24187c5e63472193dc5aaee8fe;hb=661344463aadbccf85120d056d30f486838c0dbd;hp=c82328e6d583590dfd85b88859ceba0f4e9bdd17;hpb=e1d86a327945111b99148650dc536c9ad8598cc1;p=i3%2Fi3lock diff --git a/Makefile b/Makefile index c82328e..c910e52 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 xkbcommon xkbfile x11 x11-xcb) +LIBS += $(shell pkg-config --libs cairo xcb-dpms xcb-xinerama xcb-image xkbcommon xkbfile x11 x11-xcb) LIBS += -lpam LIBS += -lev