Add uninstall target
git-svn-id: https://origsvn.digium.com/svn/libpri/trunk@75 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
parent
ccafdd739b
commit
c3544cb866
7
Makefile
7
Makefile
@ -47,6 +47,13 @@ install: $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
|
|||||||
install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)/usr/lib
|
install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)/usr/lib
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
@echo "Removing Libpri"
|
||||||
|
rm -f $(INSTALL_PREFIX)/usr/lib/libpri.so.1.0
|
||||||
|
rm -f $(INSTALL_PREFIX)/usr/lib/libpri.so
|
||||||
|
rm -f $(INSTALL_PREFIX)/usr/lib/libpri.a
|
||||||
|
rm -f $(INSTALL_PREFIX)/usr/include/libpri.h
|
||||||
|
|
||||||
pritest: pritest.o
|
pritest: pritest.o
|
||||||
$(CC) -o pritest pritest.o -L. -lpri -lzap
|
$(CC) -o pritest pritest.o -L. -lpri -lzap
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user