add a next_repaint time to each screen
[dana/dcompmgr.git] / Makefile
1 sources = $(wildcard *.c)
2 objs = $(sources:.c=.o)
3 headers = $(wildcard *.h)
4
5 CFLAGS=$(shell pkg-config --cflags xcb-composite xcb-damage glib-2.0) -ggdb -W -Wall
6 LIBS=$(shell pkg-config --libs xcb-composite xcb-damage glib-2.0)
7
8 dcompmgr: $(objs)
9         $(CC) -o $@ $^ $(LIBS) $(LDFLAGS)
10
11 %.o: %.c $(headers)
12         $(CC) -c -o $@ $< $(CFLAGS)
13
14 clean:
15         rm -f dcompmgr *.o
16
17 VIRTUAL = clean