Commit 0bdd6d1e authored by Bruce Momjian's avatar Bruce Momjian

pg_passwd cleanup.

parent 86062218
...@@ -3,18 +3,30 @@ ...@@ -3,18 +3,30 @@
# Makefile # Makefile
# Makefile for bin/pg_passwd # Makefile for bin/pg_passwd
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
SRCDIR= ../.. SRCDIR= ../..
include ../../Makefile.global include ../../Makefile.global
OBJS= pg_passwd.o OBJS= pg_passwd.o
all: pg_passwd all: pg_passwd
pg_passwd: $(OBJS) pg_passwd: $(OBJS)
$(CC) -o pg_passwd $(OBJS) $(LDFLAGS) $(CC) -o pg_passwd $(OBJS) $(LDFLAGS)
install: pg_passwd install: pg_passwd
$(INSTALL) $(INSTL_EXE_OPTS) pg_passwd $(DESTDIR)$(BINDIR)/pg_passwd $(INSTALL) $(INSTL_EXE_OPTS) pg_passwd $(DESTDIR)$(BINDIR)/pg_passwd
.PHONY: submake
submake:
$(MAKE) -C $(LIBPQDIR) libpq.a
depend dep: depend dep:
$(CC) -MM $(INCLUDE_OPT) *.c >depend $(CC) -MM $(INCLUDE_OPT) *.c >depend
clean: clean:
rm -f pg_passwd $(OBJS) rm -f pg_passwd $(OBJS)
ifeq (depend,$(wildcard depend)) ifeq (depend,$(wildcard depend))
include depend include depend
endif endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment