]> Pileus Git - wmpus/blobdiff - makefile
Simplify generic on_event handler
[wmpus] / makefile
index 9eb59248489ff5d974d8ef71a72a8dc9dc85ce48..1e64c672ee7f43e6e605c4eea9e714cea15940f0 100644 (file)
--- a/makefile
+++ b/makefile
@@ -10,7 +10,13 @@ CFLAGS    ?= -g -Wall
 PREFIX    ?= /usr/local
 MANPREFIX ?= ${PREFIX}/share/man
 
-ifeq ($(SYS),x11)
+ifeq ($(SYS),xcb)
+GCC       ?= gcc
+PROG      ?= wmpus
+LDFLAGS   += -lxcb -lxcb-keysyms -lxcb-util -lxcb-xinerama
+endif
+
+ifeq ($(SYS),xlib)
 GCC       ?= gcc
 PROG      ?= wmpus
 LDFLAGS   += -lX11 -lXinerama