• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1INCLUDES := -I../include -I../../
2CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES)
3LDFLAGS := $(LDFLAGS) -pthread -lrt
4
5HEADERS := ../include/futextest.h
6TARGETS := \
7	futex_wait_timeout \
8	futex_wait_wouldblock \
9	futex_requeue_pi \
10	futex_requeue_pi_signal_restart \
11	futex_requeue_pi_mismatched_ops \
12	futex_wait_uninitialized_heap \
13	futex_wait_private_mapped_file
14
15TEST_PROGS := $(TARGETS) run.sh
16
17.PHONY: all clean
18all: $(TARGETS)
19
20$(TARGETS): $(HEADERS)
21
22include ../../lib.mk
23
24clean:
25	rm -f $(TARGETS)
26