# $Id: Makefile,v 1.4 2008-01-09 21:27:42 carvalho Exp $

MODULES = postbio
DATA_built = postbio.sql
EXTRA_CLEAN = interval.o stree.o

PGXS := $(shell pg_config --pgxs)
include $(PGXS)

postbio.so : interval.o stree.o postbio.o
	$(CC) -shared -o $@ $^ -L./stree -lstree
