1 # SPDX-License-Identifier: GPL-2.0
7 CFLAGS
+= -I.
/include/uapi
/
9 RDMA_OBJ
= rdma.o utils.o dev.o link.o res.o
14 all: $(TARGETS
) $(LIBS
)
16 rdma
: $(RDMA_OBJ
) $(LIBS
)
17 $(QUIET_LINK
)$(CC
) $^
$(LDFLAGS
) $(LDLIBS
) -o
$@
20 install -m
0755 $(TARGETS
) $(DESTDIR
)$(SBINDIR
)
23 rm -f
$(RDMA_OBJ
) $(TARGETS
)