mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add pgench: a TPC-B like benchmarking tool
This commit is contained in:
23
contrib/pgbench/Makefile
Normal file
23
contrib/pgbench/Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.1 2000/01/15 12:38:09 ishii Exp $
|
||||
|
||||
SRCDIR= ../../src
|
||||
|
||||
include $(SRCDIR)/Makefile.global
|
||||
|
||||
CFLAGS:= -I$(LIBPQDIR) $(CFLAGS)
|
||||
|
||||
TARGET = pgbench
|
||||
OBJS = pgbench.o
|
||||
|
||||
all:: $(TARGET)
|
||||
|
||||
$(TARGET): $(OBJS)
|
||||
$(CC) -o $(TARGET) $(OBJS) -L$(LIBPQDIR) -lpq $(LDFLAGS)
|
||||
|
||||
install: $(TARGET)
|
||||
$(INSTALL) $(INSTL_EXE_OPTS) $(TARGET)$(X) $(BINDIR)/$(TARGET)$(X)
|
||||
|
||||
clean:
|
||||
$(RM) $(TARGET)$(X) $(OBJS)
|
||||
|
||||
distclean: clean
|
Reference in New Issue
Block a user