]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - genl/Makefile
devlink: Add devlink-health man page
[mirror_iproute2.git] / genl / Makefile
index 03d1f26a1cee51b5a263a0cc9abf17e2f35adfe3..2b7a45b603192224341e82bf96a3f84acdf645e5 100644 (file)
@@ -1,6 +1,7 @@
+# SPDX-License-Identifier: GPL-2.0
 GENLOBJ=genl.o
 
-include ../Config
+include ../config.mk
 SHARED_LIBS ?= y
 
 CFLAGS += -fno-strict-aliasing
@@ -20,6 +21,7 @@ endif
 all: genl
 
 genl: $(GENLOBJ) $(LIBNETLINK) $(LIBUTIL) $(GENLLIB)
+       $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
 
 install: all
        install -m 0755 genl $(DESTDIR)$(SBINDIR)