]> git.saurik.com Git - apple/libpthread.git/blame - tests/Makefile
libpthread-137.1.1.tar.gz
[apple/libpthread.git] / tests / Makefile
CommitLineData
964d3577
A
1SOURCES := $(wildcard *.c)
2TARGETS := $(patsubst %.c,%,$(SOURCES))
3TESTS := $(patsubst %,test-%,$(TARGETS))
4
5CFLAGS := -I$(SDKROOT)/System/Library/Frameworks/System.framework/PrivateHeaders
6
7all: $(TARGETS)
8
9test check: $(TESTS)
10
11$(TESTS): test-%: %
12 @echo "[TEST] $<"
13 @$(TEST_ENV) ./$<
14 @echo "[END] $<"
15 @echo
16
17clean:
18 rm -f $(TARGETS)
19
20.PHONY: all test check clean $(TESTS)