aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-10 12:18:53 +0200
committerAlessandro Iezzi <aiezzi@alessandroiezzi.it>2023-05-10 12:18:53 +0200
commit03033c1c8dfb02d195ecfbfac48d3d046c6b33c4 (patch)
tree52cbc3662469685147a481469e886933ba1d624f
parent70ff2c82446c8a1d42dae6538defdccd88896e8c (diff)
downloadutils-03033c1c8dfb02d195ecfbfac48d3d046c6b33c4.tar.gz
utils-03033c1c8dfb02d195ecfbfac48d3d046c6b33c4.zip
Change subdirectory for installation
-rw-r--r--Makefile2
-rw-r--r--config.mk2
2 files changed, 3 insertions, 1 deletions
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"