Makefile 470 字节
Newer Older
1
INCLUDES := -I../include -I../../
2 3 4 5
CFLAGS := $(CFLAGS) -g -O2 -Wall -D_GNU_SOURCE -pthread $(INCLUDES)
LDFLAGS := $(LDFLAGS) -pthread -lrt

HEADERS := ../include/futextest.h
6
TEST_GEN_FILES := \
7 8 9 10 11 12 13 14
	futex_wait_timeout \
	futex_wait_wouldblock \
	futex_requeue_pi \
	futex_requeue_pi_signal_restart \
	futex_requeue_pi_mismatched_ops \
	futex_wait_uninitialized_heap \
	futex_wait_private_mapped_file

15
TEST_PROGS := run.sh
16

17
include ../../lib.mk
18

19
$(TEST_GEN_FILES): $(HEADERS)