From d6edeabf20afb14dd42c70461665f2dfd8321da1 Mon Sep 17 00:00:00 2001 From: Avril Date: Sat, 21 Nov 2020 02:00:08 +0000 Subject: [PATCH] linking test --- cli/Makefile | 1 + cli/lib/libkhash.a | 1 + 2 files changed, 2 insertions(+) create mode 120000 cli/lib/libkhash.a diff --git a/cli/Makefile b/cli/Makefile index 82c2001..846c181 100644 --- a/cli/Makefile +++ b/cli/Makefile @@ -15,6 +15,7 @@ LIB = lib CFLAGS+= $(addprefix -I,$(INCLUDE)) -Wall -pedantic --std=gnu11 LDFLAGS+= $(addprefix -L,$(LIB)) -lkhash +#./$(LIB)/libkhash.a -lpthread -ldl PROJECT = kana-hash OBJ = $(addprefix ./obj/,$(SRC:.c=.o)) diff --git a/cli/lib/libkhash.a b/cli/lib/libkhash.a new file mode 120000 index 0000000..183469d --- /dev/null +++ b/cli/lib/libkhash.a @@ -0,0 +1 @@ +../../target/release/libkhash.a \ No newline at end of file