diff options
author | 2023-04-05 00:07:35 +0200 | |
---|---|---|
committer | 2023-04-05 00:07:35 +0200 | |
commit | 1f62527c487bb1890e1caedf33b930f2ce8b09a0 (patch) | |
tree | b4f8879bbb0e5020a2604f15bdd232eede93a28a /Makefile | |
parent | ae06c0483f3e48ff664da4678e519e9a69cd453b (diff) | |
download | log-1f62527c487bb1890e1caedf33b930f2ce8b09a0.tar.gz log-1f62527c487bb1890e1caedf33b930f2ce8b09a0.zip |
Add install and unistall targets
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -32,3 +32,13 @@ clean: tests: dist cd test && make clean tests + +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} + +uninstall: + rm -f ${PREFIX}/include/log.h + rm -rf ${PREFIX}/lib/log |