mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-18 10:53:23 +02:00
21 lines
524 B
Makefile
21 lines
524 B
Makefile
#
|
|
# Makefile, requires pgsql/contrib/pginterface
|
|
#
|
|
#
|
|
PGINTERFACE = ../pginterface/pginterface.o ../pginterface/halt.o # these have to be in your library search path
|
|
TARGET = findoidjoins
|
|
CFLAGS = -g -Wall -I. -I../../src/interfaces/libpq -I/usr/local/pgsql/include
|
|
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
|
|
|