mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-30 15:57:19 +02:00
20 lines
366 B
Makefile
20 lines
366 B
Makefile
|
#
|
||
|
# Makefile
|
||
|
#
|
||
|
#
|
||
|
TARGET = pginsert
|
||
|
CFLAGS = -g -Wall -I/u/postgres95/include
|
||
|
LIBS = -L/u/postgres95/lib -lpq
|
||
|
|
||
|
$(TARGET) : pginsert.o pginterface.o halt.o
|
||
|
$(CC) -o $(TARGET) $(XFLAGS) $(CFLAGS) \
|
||
|
pginsert.o pginterface.o halt.o $(LIBS)
|
||
|
|
||
|
clean:
|
||
|
rm -f *.o $(TARGET) log core
|
||
|
|
||
|
install:
|
||
|
make clean
|
||
|
make CFLAGS=-O
|
||
|
install -s -o bin -g bin $(TARGET) /usr/local/bin
|