summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/membarrier/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/membarrier/Makefile')
-rw-r--r--tools/testing/selftests/membarrier/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/testing/selftests/membarrier/Makefile b/tools/testing/selftests/membarrier/Makefile
new file mode 100644
index 000000000000..877a50355d7f
--- /dev/null
+++ b/tools/testing/selftests/membarrier/Makefile
@@ -0,0 +1,11 @@
+CFLAGS += -g -I../../../../usr/include/
+
+all:
+ $(CC) $(CFLAGS) membarrier_test.c -o membarrier_test
+
+TEST_PROGS := membarrier_test
+
+include ../lib.mk
+
+clean:
+ $(RM) membarrier_test