aboutsummaryrefslogtreecommitdiff
path: root/src/test/thread/Makefile
blob: 0eeb0928bbb8c4f1b05eda8ded9b319d30279219 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#-------------------------------------------------------------------------
#
# Makefile for tools/thread
#
# Copyright (c) 2003-2008, PostgreSQL Global Development Group
#
# $PostgreSQL: pgsql/src/test/thread/Makefile,v 1.4 2008/01/01 19:46:01 momjian Exp $
#
#-------------------------------------------------------------------------

subdir = src/tools/thread
top_builddir = ../../..
include $(top_builddir)/src/Makefile.global

override CFLAGS += $(PTHREAD_CFLAGS)

all: thread_test

thread_test: thread_test.o
# no need for $LIBS, might not be compiled yet
	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(PTHREAD_LIBS) -o $@

clean distclean maintainer-clean:
	rm -f thread_test$(X) thread_test.o