Skip to content

Commit

Permalink
rename ynl.a -> libynl.a
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Kicinski <[email protected]>
  • Loading branch information
kuba-moo committed Mar 14, 2024
1 parent cb1abb7 commit 1a26c19
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ include $(wildcard *.d)
GEN_SRCS=$(wildcard generated/*.c)
GENERATED=$(patsubst %.c,%.o,${GEN_SRCS})

all: ynl.a
all: libynl.a

generated:
$(MAKE) -C $@

ynl.a: ynl.o generated
libynl.a: ynl.o generated
@echo -e "\tAR $@"
@ar rcs $@ ynl.o $(GENERATED)

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ https://docs.kernel.org/next/userspace-api/netlink/intro-specs.html#ynl-lib
Using the library
=================

Building the library generates an archive for static linking called ``ynl.a``.
Building the library generates an archive for static linking called
``libynl.a``.

0 comments on commit 1a26c19

Please sign in to comment.