From 03033c1c8dfb02d195ecfbfac48d3d046c6b33c4 Mon Sep 17 00:00:00 2001 From: Alessandro Iezzi Date: Wed, 10 May 2023 12:18:53 +0200 Subject: Change subdirectory for installation --- Makefile | 2 ++ config.mk | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ff92501..ccc7be1 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,8 @@ tests: dist cd test && make clean tests install: dist + mkdir -p ${PREFIX}/include + mkdir -p ${PREFIX}/lib cp src/utils.h ${PREFIX}/include/utils.h cp ${LIBNAME:=.so} ${PREFIX}/lib/${LIBNAME:=.so} cp ${LIBNAME:=.a} ${PREFIX}/lib/${LIBNAME:=.a} diff --git a/config.mk b/config.mk index 4614858..23cab53 100644 --- a/config.mk +++ b/config.mk @@ -1,6 +1,6 @@ # See LICENSE file for copyright and license details. -PREFIX = /usr/local +PREFIX = /usr/local/aiezzi CC = cc SRC != find src -name "*.c" -- cgit v1.2.3