summaryrefslogtreecommitdiffstats
path: root/tools/regression/pthread/unwind/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/pthread/unwind/Makefile')
-rw-r--r--tools/regression/pthread/unwind/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/tools/regression/pthread/unwind/Makefile b/tools/regression/pthread/unwind/Makefile
new file mode 100644
index 0000000..c4f9ac8
--- /dev/null
+++ b/tools/regression/pthread/unwind/Makefile
@@ -0,0 +1,17 @@
+# $FreeBSD$
+all: main_thread_exit thread_normal_exit sem_wait_cancel \
+ cond_wait_cancel cond_wait_cancel2 catch_pthread_exit
+
+.cpp:
+ c++ -o $@ $< -lpthread
+
+main_thread_exit: main_thread_exit.cpp
+thread_normal_exit: thread_normal_exit.cpp
+sem_wait_cancel: sem_wait_cancel.cpp
+cond_wait_cancel: cond_wait_cancel.cpp
+cond_wait_cancel2: cond_wait_cancel2.cpp
+catch_pthread_exit: catch_pthread_exit.cpp
+
+clean: .PHONY
+ rm -rf main_thread_exit thread_normal_exit sem_wait_cancel \
+ cond_wait_cancel cond_wait_cancel2 catch_pthread_exit
OpenPOWER on IntegriCloud