make install deletes previous versions of the library.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 14 Sep 2001 22:56:46 +0000
changeset 96 85df1b534b9d
parent 95 215a06fc87eb
child 97 3ce626c7abb5
make install deletes previous versions of the library.
Makefile
--- a/Makefile	Fri Sep 14 22:55:44 2001 +0000
+++ b/Makefile	Fri Sep 14 22:56:46 2001 +0000
@@ -239,6 +239,7 @@
 
 
 install: all
+	rm -f $(install_prefix)/lib/$(strip $(BASELIBNAME))$(strip $(LIB_EXT)).$(strip $(VERMAJOR)).$(strip $(VERMINOR)).*
 	mkdir -p $(install_prefix)/bin
 	mkdir -p $(install_prefix)/lib
 	mkdir -p $(install_prefix)/include