]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - tools/testing/selftests/timers/Makefile
selftests/timers: Add nanosleep test from timetest suite
[mirror_ubuntu-zesty-kernel.git] / tools / testing / selftests / timers / Makefile
CommitLineData
03438212
JS
1CC = $(CROSS_COMPILE)gcc
2BUILD_FLAGS = -DKTEST
3CFLAGS += -O3 -Wl,-no-as-needed -Wall $(BUILD_FLAGS)
4LDFLAGS += -lrt -lpthread
689f32fb 5bins = posix_timers nanosleep
03438212
JS
6
7all: ${bins}
0bc4b0cf
FW
8
9run_tests: all
10 ./posix_timers
689f32fb 11 ./nanosleep
0bc4b0cf
FW
12
13clean:
03438212 14 rm -f ${bins}