1
#-------------------------------------------------------------------------
3
# Makefile for tools/thread
5
# Copyright (c) 2003-2011, PostgreSQL Global Development Group
7
# src/test/thread/Makefile
9
#-------------------------------------------------------------------------
11
subdir = src/tools/thread
12
top_builddir = ../../..
13
include $(top_builddir)/src/Makefile.global
15
override CFLAGS += $(PTHREAD_CFLAGS)
19
thread_test: thread_test.o
20
# no need for $LIBS, might not be compiled yet
21
$(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_EX) $^ $(PTHREAD_LIBS) -o $@
23
clean distclean maintainer-clean:
24
rm -f thread_test$(X) thread_test.o