mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2026-01-26 14:13:24 +00:00
Move mnlg.c to lib/ and mnlg.h to include/ to allow code reuse across multiple tools. Signed-off-by: Petr Oros <poros@redhat.com> Signed-off-by: David Ahern <dsahern@kernel.org>
20 lines
358 B
Makefile
20 lines
358 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
include ../config.mk
|
|
|
|
DEVLINKOBJ = devlink.o
|
|
TARGETS += devlink
|
|
LDLIBS += -lm
|
|
|
|
all: $(TARGETS) $(LIBS)
|
|
|
|
devlink: $(DEVLINKOBJ) $(LIBNETLINK)
|
|
$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
|
|
|
|
install: all
|
|
for i in $(TARGETS); \
|
|
do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \
|
|
done
|
|
|
|
clean:
|
|
rm -f $(DEVLINKOBJ) $(TARGETS)
|