]> Pileus Git - wmpus/blobdiff - makefile
Split x11 into xlib and xcb systems
[wmpus] / makefile
index 9eb59248489ff5d974d8ef71a72a8dc9dc85ce48..d556e1451422dc6ced17642338989c5c04254d23 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
+endif
+
+ifeq ($(SYS),xlib)
 GCC       ?= gcc
 PROG      ?= wmpus
 LDFLAGS   += -lX11 -lXinerama