postgresql/src/test/thread/Makefile

25 lines
641 B
Makefile
Raw Normal View History

#-------------------------------------------------------------------------
#
# Makefile for tools/thread
#
2010-01-02 11:58:17 -05:00
# Copyright (c) 2003-2010, PostgreSQL Global Development Group
#
2010-09-20 16:08:53 -04:00
# src/test/thread/Makefile
#
#-------------------------------------------------------------------------
2004-04-26 14:32:33 -04:00
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