summaryrefslogtreecommitdiff
path: root/src/bin/pg_resetxlog/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_resetxlog/Makefile')
-rw-r--r--src/bin/pg_resetxlog/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/pg_resetxlog/Makefile b/src/bin/pg_resetxlog/Makefile
index 67ba562949..ad56a11503 100644
--- a/src/bin/pg_resetxlog/Makefile
+++ b/src/bin/pg_resetxlog/Makefile
@@ -17,9 +17,9 @@ include $(top_builddir)/src/Makefile.global
OBJS= pg_resetxlog.o pg_crc.o $(WIN32RES)
-all: submake-libpgport pg_resetxlog
+all: pg_resetxlog
-pg_resetxlog: $(OBJS)
+pg_resetxlog: $(OBJS) | submake-libpgport
$(CC) $(CFLAGS) $^ $(LDFLAGS) $(LDFLAGS_EX) $(LIBS) -o $@$(X)
pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c