Explorar o código

make install deletes previous versions of the library.

Ryan C. Gordon %!s(int64=25) %!d(string=hai) anos
pai
achega
beecf24734
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -239,6 +239,7 @@ $(TESTEXE) : $(MAINLIB) $(TESTOBJS)
 
 
 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