diff options
| author | Bruce Momjian | 1997-08-25 23:28:04 +0000 |
|---|---|---|
| committer | Bruce Momjian | 1997-08-25 23:28:04 +0000 |
| commit | 0bdd6d1e001f0c9a079b37eb31f851449ed32d57 (patch) | |
| tree | 2e8d21fa804d3c1c9c27219422df23013a1d0b3c | |
| parent | 86062218daac3d0d5a1a275ae6c37f2532a09220 (diff) | |
pg_passwd cleanup.
| -rw-r--r-- | src/bin/pg_passwd/Makefile | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/src/bin/pg_passwd/Makefile b/src/bin/pg_passwd/Makefile index 5a5463acf9..8edb3309c3 100644 --- a/src/bin/pg_passwd/Makefile +++ b/src/bin/pg_passwd/Makefile @@ -3,18 +3,30 @@ # Makefile # Makefile for bin/pg_passwd #------------------------------------------------------------------------- + SRCDIR= ../.. include ../../Makefile.global + OBJS= pg_passwd.o + all: pg_passwd + pg_passwd: $(OBJS) - $(CC) -o pg_passwd $(OBJS) $(LDFLAGS) + $(CC) -o pg_passwd $(OBJS) $(LDFLAGS) + 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: - $(CC) -MM $(INCLUDE_OPT) *.c >depend + $(CC) -MM $(INCLUDE_OPT) *.c >depend + clean: - rm -f pg_passwd $(OBJS) + rm -f pg_passwd $(OBJS) + ifeq (depend,$(wildcard depend)) include depend endif |
