initialize gl on the overlay window
[dana/dcompmgr.git] / Makefile
index 311914a..65ac859 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -10,9 +10,9 @@ PLIBS=
 EFLAGS=-DEFENCE
 ELIBS=-lefence
 
-CFLAGS=$(shell pkg-config --cflags xcb-composite xcb-damage glib-2.0) -ggdb -W -Wall $(PFLAGS)
+CFLAGS=$(shell pkg-config --cflags xcb-glx xcb-composite xcb-damage glib-2.0) -ggdb -W -Wall $(PFLAGS)
 LDFLAGS=$(PFLAGS)
-LIBS=$(shell pkg-config --libs xcb-composite xcb-damage glib-2.0) $(PLIBS)
+LIBS=$(shell pkg-config --libs xcb-glx xcb-composite xcb-damage glib-2.0) -lGL $(PLIBS)
 
 dcompmgr: $(objs)
        $(CC) -o $@ $^ $(LIBS) $(LDFLAGS)