summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/mqueue/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/mqueue/Makefile')
-rw-r--r--tools/testing/selftests/mqueue/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/tools/testing/selftests/mqueue/Makefile b/tools/testing/selftests/mqueue/Makefile
new file mode 100644
index 000000000000..54c0aad2b47c
--- /dev/null
+++ b/tools/testing/selftests/mqueue/Makefile
@@ -0,0 +1,10 @@
+all:
+ gcc -O2 -lrt mq_open_tests.c -o mq_open_tests
+ gcc -O2 -lrt -lpthread -lpopt -o mq_perf_tests mq_perf_tests.c
+
+run_tests:
+ ./mq_open_tests /test1
+ ./mq_perf_tests
+
+clean:
+ rm -f mq_open_tests mq_perf_tests