-prefix=/tmp/ob
-exec_prefix=$(prefix)
-libdir=$(exec_prefix)/lib
+prefix = /tmp/ob
+exec_prefix = $(prefix)
+libdir = $(exec_prefix)/lib
targets = libotk.so libotk.a
-sources = display.c screeninfo.c rect.c
-headers = display.h screeninfo.h rect.h
+sources = init.c display.c screeninfo.c rect.c gccache.c color.c font.c \
+ timer.c timerqueue.c imagecontrol.c
+headers = init.h display.h screeninfo.h rect.h gccache.h color.h font.h \
+ timer.h timerqueue.h imagecontrol.h
-CFLAGS+=-I/usr/gwar/include/python2.2
+CFLAGS += -g -W -Wall -I/usr/gwar/include/python2.2 `pkg-config --cflags xft`
+LDFLAGS += `pkg-config --libs xft`
.PHONY: all install clean