redirect rendering and get the composite overlay window
[dana/dcompmgr.git] / Makefile
index f32f5d3..08bf416 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,16 @@ sources = $(wildcard *.c)
 objs = $(sources:.c=.o)
 headers = $(wildcard *.h)
 
-CFLAGS=$(shell pkg-config --cflags xcb-composite glib-2.0) -ggdb -W -Wall
-LIBS=$(shell pkg-config --libs xcb-composite glib-2.0)
+CFLAGS=$(shell pkg-config --cflags xcb-composite xcb-damage glib-2.0) -ggdb -W -Wall
+LIBS=$(shell pkg-config --libs xcb-composite xcb-damage glib-2.0)
 
 dcompmgr: $(objs)
        $(CC) -o $@ $^ $(LIBS) $(LDFLAGS)
 
 %.o: %.c $(headers)
        $(CC) -c -o $@ $< $(CFLAGS)
+
+clean:
+       rm -f dcompmgr *.o
+
+VIRTUAL = clean