mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-17 18:13:35 +02:00
24 lines
450 B
Makefile
24 lines
450 B
Makefile
# $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
|