diff options
Diffstat (limited to '')
-rw-r--r-- | testsuite/tools/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tools/Makefile b/testsuite/tools/Makefile new file mode 100644 index 0000000..0356dda --- /dev/null +++ b/testsuite/tools/Makefile @@ -0,0 +1,13 @@ +# SPDX-License-Identifier: GPL-2.0 +CFLAGS= +LDLIBS= +include ../../config.mk +ifeq ($(HAVE_CAP),y) +LDLIBS+= -lcap +endif + +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 $(LDLIBS) + +clean: + rm -f generate_nlmsg |