diff --git a/Makefile b/Makefile index ec6131f..179f8bb 100644 --- a/Makefile +++ b/Makefile @@ -25,12 +25,14 @@ mrproper: clean install: bin/libcatwalk.so @mkdir -p /usr/local/include/catwalk/ - install include/*.h /usr/local/include/catwalk/ + install -p include/*.h /usr/local/include/catwalk/ @mkdir -p /usr/local/lib - install bin/libcatwalk.so /usr/local/lib/ + install -p bin/libcatwalk.so /usr/local/lib/ # configuration of links ldconfig /usr/local/lib/libcatwalk.so uninstall: -rm -rf /usr/local/include/catwalk -rm -f /usr/local/lib/libcatwalk.so + # reconfiguration of links + ldconfig /usr/local/lib/libcatwalk.so