Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 0bdd6d1

Browse files
committed
pg_passwd cleanup.
1 parent 8606221 commit 0bdd6d1

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

src/bin/pg_passwd/Makefile

+16-4
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,30 @@
33
# Makefile
44
# Makefile for bin/pg_passwd
55
#-------------------------------------------------------------------------
6+
67
SRCDIR= ../..
78
include ../../Makefile.global
9+
810
OBJS= pg_passwd.o
11+
912
all: pg_passwd
13+
1014
pg_passwd: $(OBJS)
11-
$(CC) -o pg_passwd $(OBJS) $(LDFLAGS)
15+
$(CC) -o pg_passwd $(OBJS) $(LDFLAGS)
16+
1217
install: pg_passwd
13-
$(INSTALL) $(INSTL_EXE_OPTS) pg_passwd $(DESTDIR)$(BINDIR)/pg_passwd
18+
$(INSTALL) $(INSTL_EXE_OPTS) pg_passwd $(DESTDIR)$(BINDIR)/pg_passwd
19+
20+
.PHONY: submake
21+
submake:
22+
$(MAKE) -C $(LIBPQDIR) libpq.a
23+
1424
depend dep:
15-
$(CC) -MM $(INCLUDE_OPT) *.c >depend
25+
$(CC) -MM $(INCLUDE_OPT) *.c >depend
26+
1627
clean:
17-
rm -f pg_passwd $(OBJS)
28+
rm -f pg_passwd $(OBJS)
29+
1830
ifeq (depend,$(wildcard depend))
1931
include depend
2032
endif

0 commit comments

Comments
 (0)