]>
git.proxmox.com Git - mirror_iproute2.git/blob - devlink/Makefile
4 DEVLINKOBJ
= devlink.o mnlg.o
7 CFLAGS
+= $(shell $(PKG_CONFIG
) libmnl
--cflags)
8 LDLIBS
+= $(shell $(PKG_CONFIG
) libmnl
--libs
)
12 all: $(TARGETS
) $(LIBS
)
14 devlink
: $(DEVLINKOBJ
)
15 $(QUIET_LINK
)$(CC
) $^
$(LDFLAGS
) $(LDLIBS
) -o
$@
18 install -m
0755 $(TARGETS
) $(DESTDIR
)$(SBINDIR
)
21 rm -f
$(DEVLINKOBJ
) $(TARGETS
)