1998-08-11 02:32:00 +00:00
|
|
|
#
|
|
|
|
# Makefile, requires pgsql/contrib/pginterface
|
|
|
|
#
|
|
|
|
#
|
1998-09-14 01:14:49 +00:00
|
|
|
PGINTERFACE = ../pginterface/pginterface.o ../pginterface/halt.o # these have to be in your library search path
|
1998-08-11 02:32:00 +00:00
|
|
|
TARGET = findoidjoins
|
1999-03-26 07:21:58 +00:00
|
|
|
CFLAGS = -g -Wall -I. -I../pginterface -I../../src/interfaces/libpq -I/usr/local/pgsql/include
|
1998-08-11 02:32:00 +00:00
|
|
|
LDFLAGS = -L/usr/local/pgsql/lib -lpq
|
|
|
|
|
|
|
|
all : $(TARGET)
|
|
|
|
|
|
|
|
findoidjoins: $(PGINTERFACE) findoidjoins.c
|
|
|
|
gcc -o $@ $(CFLAGS) $@.c $(PGINTERFACE) $(LDFLAGS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o $(TARGET) log core
|
|
|
|
|
|
|
|
install:
|
|
|
|
install -s -o bin -g bin $(TARGET) /usr/local/pgsql/bin
|
|
|
|
|