3 libdir=$(exec_prefix)/lib
5 targets = libotk.so libotk.a
6 sources = display.c screeninfo.c rect.c gccache.c color.c
7 headers = display.h screeninfo.h rect.h gccache.h color.h
9 CFLAGS+=-I/usr/gwar/include/python2.2
11 .PHONY: all install clean
20 $(RM) $(targets) *.o core *\~ .\#*
22 libotk.so: $(sources:.c=.o)
23 $(CC) -shared -o $@ $^ $(LDFLAGS)
25 libotk.a: $(sources:.c=.o)