From 72427aebb4e6a485181e4bdb175d6a1d147e2034 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 5 Apr 2023 00:21:56 +0200 Subject: Remove log subdirectory Referencing the log library, results in a `not found` error. I guess we need to set a LD_PATH to liblog.so but I don't know how to do, for now. So, we can keep both libraries in /usr/local/lib. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 07ac309..668877a 100644 --- a/Makefile +++ b/Makefile @@ -35,10 +35,10 @@ tests: dist install: dist cp src/log.h ${PREFIX}/include/log.h - mkdir -p ${PREFIX}/lib/log - cp ${LIBNAME:=.so} ${PREFIX}/lib/log/${LIBNAME:=.so} - cp ${LIBNAME:=.a} ${PREFIX}/lib/log/${LIBNAME:=.a} + cp ${LIBNAME:=.so} ${PREFIX}/lib/${LIBNAME:=.so} + cp ${LIBNAME:=.a} ${PREFIX}/lib/${LIBNAME:=.a} uninstall: rm -f ${PREFIX}/include/log.h - rm -rf ${PREFIX}/lib/log + rm -f ${PREFIX}/lib/${LIBNAME:=.so} + rm -f ${PREFIX}/lib/${LIBNAME:=.a} -- cgit v1.2.3