summaryrefslogtreecommitdiffstats
path: root/testsuite/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tools/Makefile')
-rw-r--r--testsuite/tools/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tools/Makefile b/testsuite/tools/Makefile
new file mode 100644
index 0000000..e0162cc
--- /dev/null
+++ b/testsuite/tools/Makefile
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0
+CFLAGS=
+include ../../config.mk
+
+generate_nlmsg: generate_nlmsg.c ../../lib/libnetlink.a ../../lib/libutil.a
+ $(QUIET_CC)$(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) -I../../include -I../../include/uapi -include../../include/uapi/linux/netlink.h -o $@ $^ -lmnl -lcap
+
+clean:
+ rm -f generate_nlmsg