We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent1812d3b commitae5bc8aCopy full SHA for ae5bc8a
src/tools/thread/Makefile
@@ -4,7 +4,7 @@
4
#
5
# Copyright (C) 2003 by PostgreSQL Global Development Team
6
7
-# $PostgreSQL: pgsql/src/tools/thread/Makefile,v 1.5 2004/04/23 20:35:50 momjian Exp $
+# $PostgreSQL: pgsql/src/tools/thread/Makefile,v 1.6 2004/04/25 20:47:56 momjian Exp $
8
9
#-------------------------------------------------------------------------
10
@@ -14,12 +14,11 @@ include $(top_builddir)/src/Makefile.global
14
15
overrideCFLAGS +=$(PTHREAD_CFLAGS)
16
17
-LDFLAGS +=$(PTHREAD_LIBS)
18
-
19
all: thread_test
20
21
thread_test: thread_test.o
22
-$(CC)$(CFLAGS)$(LDFLAGS)$^$(LIBS) -o$@
+# no need for $LIBS, might not be compiled yet
+$(CC) $(CFLAGS) $(LDFLAGS) $^ $(PTHREAD_LIBS) -o $@
23
24
cleandistcleanmaintainer-clean:
25
rm -f thread_test$(X) thread_test.o