mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-07 19:59:21 +02:00
21 lines
494 B
Makefile
21 lines
494 B
Makefile
|
#
|
||
|
# Makefile, requires pgsql/contrib/pginterface
|
||
|
#
|
||
|
#
|
||
|
PGINTERFACE = pginterface.o 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
|
||
|
|