mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-12 18:34:36 +08:00
aaf19c0e25
prepared for dirtribution (it needs a little changes). I can change and work on this, but I need motivation :-) And Peter, I know and I agree that standard PG tree is not good space for all interfaces and for all tools based on PG, but LO is PG feature and we haven't backup tool for LO. Karel Zak
27 lines
364 B
Makefile
27 lines
364 B
Makefile
|
|
PROGRAM = pg_dumplo
|
|
|
|
OBJECTS = pg_dumplo.o
|
|
|
|
CFLAGS = -Wall -fpic -g
|
|
CC = gcc
|
|
RM = rm -f
|
|
INCLUDE = -I/usr/include/postgresql
|
|
LIBS =-lpq
|
|
|
|
COMPILE = $(CC) $(CPPFLAGS) $(CFLAGS) $(INCLUDE)
|
|
LINK = $(CC) $(CFLAGS) -o $@ $(LIBS)
|
|
|
|
|
|
all: $(PROGRAM)
|
|
|
|
$(PROGRAM): $(OBJECTS)
|
|
$(LINK) $(OBJECTS)
|
|
|
|
.c.o: $<
|
|
$(COMPILE) -c $<
|
|
|
|
clean:
|
|
$(RM) -f *~ $(OBJECTS) $(PROGRAM)
|
|
|