1# $FreeBSD$ 2all: main_thread_exit thread_normal_exit sem_wait_cancel \ 3 cond_wait_cancel cond_wait_cancel2 catch_pthread_exit 4 5.cpp: 6 c++ -o $@ $< -lpthread 7 8main_thread_exit: main_thread_exit.cpp 9thread_normal_exit: thread_normal_exit.cpp 10sem_wait_cancel: sem_wait_cancel.cpp 11cond_wait_cancel: cond_wait_cancel.cpp 12cond_wait_cancel2: cond_wait_cancel2.cpp 13catch_pthread_exit: catch_pthread_exit.cpp 14 15clean: .PHONY 16 rm -rf main_thread_exit thread_normal_exit sem_wait_cancel \ 17 cond_wait_cancel cond_wait_cancel2 catch_pthread_exit 18