Changements sur le Makefile
- Ajout de l'argument '-p' pour les commandes install - Ajout de ldconfig pour la règle uninstall
This commit is contained in:
parent
ec8adc4236
commit
93e9c669fc
6
Makefile
6
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
|
||||
|
Loading…
Reference in New Issue
Block a user