summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/epoll/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/epoll/Makefile')
-rw-r--r--tools/testing/selftests/epoll/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testing/selftests/epoll/Makefile b/tools/testing/selftests/epoll/Makefile
new file mode 100644
index 000000000000..19806ed62f50
--- /dev/null
+++ b/tools/testing/selftests/epoll/Makefile
@@ -0,0 +1,11 @@
+# Makefile for epoll selftests
+
+all: test_epoll
+%: %.c
+ gcc -pthread -g -o $@ $^
+
+run_tests: all
+ ./test_epoll
+
+clean:
+ $(RM) test_epoll