summaryrefslogtreecommitdiffstats
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 0000000..877a503
--- /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
OpenPOWER on IntegriCloud