150069a58SDoug Ledfordall:
2b80f5570SShuah Khan	gcc -O2 mq_open_tests.c -o mq_open_tests -lrt
3b80f5570SShuah Khan	gcc -O2 -o mq_perf_tests mq_perf_tests.c -lrt -lpthread -lpopt
450069a58SDoug Ledford
55e29a910SMichael Ellermaninclude ../lib.mk
65e29a910SMichael Ellerman
75e29a910SMichael Ellermanoverride define RUN_TESTS
85e29a910SMichael Ellerman	@./mq_open_tests /test1 || echo "selftests: mq_open_tests [FAIL]"
95e29a910SMichael Ellerman	@./mq_perf_tests || echo "selftests: mq_perf_tests [FAIL]"
105e29a910SMichael Ellermanendef
1150069a58SDoug Ledford
1250069a58SDoug Ledfordclean:
137820b071SDoug Ledford	rm -f mq_open_tests mq_perf_tests
14