]> git.proxmox.com Git - mirror_iproute2.git/blob - rdma/Makefile
Merge branch 'master' into net-next
[mirror_iproute2.git] / rdma / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 include ../config.mk
3
4 ifeq ($(HAVE_MNL),y)
5
6 RDMA_OBJ = rdma.o utils.o dev.o link.o
7
8 TARGETS=rdma
9 endif
10
11 all: $(TARGETS) $(LIBS)
12
13 rdma: $(RDMA_OBJ) $(LIBS)
14 $(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
15
16 install: all
17 install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
18
19 clean:
20 rm -f $(RDMA_OBJ) $(TARGETS)