1 sources = $(wildcard *.c)
2 objs = $(sources:.c=.o)
3 headers = $(wildcard *.h)
5 CFLAGS=$(shell pkg-config --cflags xcb-composite xcb-damage glib-2.0) -ggdb -W -Wall #-DEFENCE
6 LIBS=$(shell pkg-config --libs xcb-composite xcb-damage glib-2.0) #-lefence
9 $(CC) -o $@ $^ $(LIBS) $(LDFLAGS)
12 $(CC) -c -o $@ $< $(CFLAGS)