1INCLUDES := -I../include -I../../
2CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES)
3LDFLAGS := $(LDFLAGS) -pthread -lrt
4
5HEADERS := \
6	../include/futextest.h \
7	../include/atomic.h \
8	../include/logging.h
9TEST_GEN_FILES := \
10	futex_wait_timeout \
11	futex_wait_wouldblock \
12	futex_requeue_pi \
13	futex_requeue_pi_signal_restart \
14	futex_requeue_pi_mismatched_ops \
15	futex_wait_uninitialized_heap \
16	futex_wait_private_mapped_file
17
18TEST_PROGS := run.sh
19
20include ../../lib.mk
21
22$(TEST_GEN_FILES): $(HEADERS)
23