selftests/timers: Add clock skew estimation test from timetest suite
[cascardo/linux.git] / tools / testing / selftests / timers / Makefile
1 CC = $(CROSS_COMPILE)gcc
2 BUILD_FLAGS = -DKTEST
3 CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
4 LDFLAGS += -lrt -lpthread
5 bins = posix_timers nanosleep inconsistency-check nsleep-lat raw_skew
6
7 all: ${bins}
8
9 run_tests: all
10         ./posix_timers
11         ./nanosleep
12         ./nsleep-lat
13         ./inconsistency-check
14         ./raw_skew
15 clean:
16         rm -f ${bins}