Files
postgresql/src/test/thread/Makefile
Bruce Momjian 7559d8ebfa Update copyrights for 2020
Backpatch-through: update all files in master, backpatch legal files through 9.4
2020-01-01 12:21:45 -05:00

25 lines
645 B
Makefile

#-------------------------------------------------------------------------
#
# Makefile for tools/thread
#
# Copyright (c) 2003-2020, 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 $@$(X)
clean distclean maintainer-clean:
rm -f thread_test$(X) thread_test.o