mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-05 08:06:55 +02:00
ee94300446
Backpatch certain files through 9.1
25 lines
641 B
Makefile
25 lines
641 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile for tools/thread
|
|
#
|
|
# Copyright (c) 2003-2016, PostgreSQL Global Development Group
|
|
#
|
|
# src/test/thread/Makefile
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
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) $(LDFLAGS_EX) $^ $(PTHREAD_LIBS) -o $@
|
|
|
|
clean distclean maintainer-clean:
|
|
rm -f thread_test$(X) thread_test.o
|