1 sources = $(wildcard *.c)
2 objs = $(sources:.c=.o)
3 headers = $(wildcard *.h)
8 #PFLAGS=-pg -fno-inline
15 CFLAGS=$(shell pkg-config --cflags xcb-glx xcb-composite xcb-damage glib-2.0) -W -Wall $(PFLAGS) $(DFLAGS)
17 LIBS=$(shell pkg-config --libs xcb-glx xcb-composite xcb-damage glib-2.0) -lGL $(PLIBS) -lX11 -lX11-xcb
20 $(CC) -o $@ $^ $(LIBS) $(LDFLAGS)
23 $(CC) -c -o $@ $< $(CFLAGS)