From 26942b0ff7e96c74e106907dea20ec3ccce2400a Mon Sep 17 00:00:00 2001 From: Armaan Bhojwani Date: Mon, 10 May 2021 09:33:52 -0400 Subject: [PATCH] Fix installation path in Makefile --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 522fd86..613c107 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ CFLAGS := -Wall -Wextra -pedantic -std=c99 -fPIC ${CFLAGS} all: lib man lib: - ${CC} -shared ${LDFLAGS} ${OBJS} -o acheam.so src/*.c ${CFLAGS} + ${CC} -shared ${LDFLAGS} ${OBJS} -o libacheam.so src/*.c ${CFLAGS} man: for i in man/*.scd; do \ @@ -16,14 +16,14 @@ install: all ${DESTDIR}/lib/pkgconfig \ ${DESTDIR}/man/man3 - cp acheam.so ${DESTDIR}/lib + cp libacheam.so ${DESTDIR}/lib cp acheam.pc ${DESTDIR}/lib/pkgconfig cp src/acheam.h ${DESTDIR}/include cp man/*.3 ${DESTDIR}/man/man3/ uninstall: rm ${DESTDIR}/include/acheam.h \ - ${DESTDIR}/lib/acheam.so \ + ${DESTDIR}/lib/libacheam.so \ ${DESTDIR}/lib/pkgconfig/acheam.pc for i in man/*.scd; do \ -- 2.39.2