Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite5f3690

Browse files
committed
pgbench: Fix mistakes in Makefile.
My commit878fdcb was not quiteright. Tom Lane pointed out one of the mistakes fixed here, and Inoticed the other myself while reviewing what I'd committed.
1 parentd147901 commite5f3690

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

‎contrib/pgbench/Makefile

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ PGAPPICON = win32
66
PROGRAM = pgbench
77
OBJS= pgbench.o exprparse.o$(WIN32RES)
88

9-
EXTRA_CLEAN= exprparse.c exprscan.c
10-
119
PG_CPPFLAGS = -I$(libpq_srcdir)
1210
PG_LIBS =$(libpq_pgport)$(PTHREAD_LIBS)
1311

@@ -28,13 +26,8 @@ ifneq ($(PORTNAME), win32)
2826
overrideCFLAGS +=$(PTHREAD_CFLAGS)
2927
endif
3028

31-
# There is no correct way to write a rule that generates two files.
32-
# Rules with two targets don't have that meaning, they are merely
33-
# shorthand for two otherwise separate rules. To be safe for parallel
34-
# make, we must chain the dependencies like this. The semicolon is
35-
# important; otherwise, make will choose the built-in rule.
36-
37-
exprparse.h: exprparse.c ;
38-
3929
# exprscan is compiled as part of exprparse
4030
exprparse.o: exprscan.c
31+
32+
maintainer-clean:
33+
rm -f exprparse.c exprscan.c

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp