]> git.saurik.com Git - apple/libc.git/blob - pthreads/tests/Makefile
Libc-825.40.1.tar.gz
[apple/libc.git] / pthreads / tests / Makefile
1 MACHINE:=`arch`
2 MAKEOBJDIR:=../../obj.`arch`
3
4 TESTS = pthread_atfork_test
5 LDFLAGS = -nostdlib -lcrt1.o
6 LDLIBS = $(MAKEOBJDIR)/libc.a /usr/local/lib/system/libnotify.a \
7 /usr/local/lib/system/libm.a /usr/local/lib/system/libmCommon.a \
8 -lgcc /usr/local/lib/system/libkeymgr.a \
9 /usr/local/lib/system/libdyld.a /usr/local/lib/system/libmacho.a \
10 $(MAKEOBJDIR)/libc.a
11 CFLAGS = -I..
12
13 .SUFFIXES:
14 .SUFFIXES: .c
15
16 .PHONY: tests
17
18 tests: $(TESTS)
19 @for i in $(TESTS); do \
20 $$i && echo $$i passed; \
21 done
22
23 clean:
24 rm -f $(TESTS)
25
26 Makefile pthread_atfork_test.c : ;