diff -urN SuiteSparse.orig/AMD/Lib/Makefile SuiteSparse/AMD/Lib/Makefile
--- SuiteSparse.orig/AMD/Lib/Makefile	2017-10-27 14:05:20.073277700 -0400
+++ SuiteSparse/AMD/Lib/Makefile	2017-10-27 14:27:09.455884200 -0400
@@ -82,6 +82,7 @@
 
 # install AMD
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -98,6 +99,7 @@
 
 # uninstall AMD
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/amd.h
 	$(RM) $(INSTALL_DOC)/AMD_UserGuide.pdf
diff -urN SuiteSparse.orig/BTF/Lib/Makefile SuiteSparse/BTF/Lib/Makefile
--- SuiteSparse.orig/BTF/Lib/Makefile	2017-10-27 14:05:20.081316500 -0400
+++ SuiteSparse/BTF/Lib/Makefile	2017-10-27 14:27:21.347044000 -0400
@@ -67,6 +67,7 @@
 
 # install BTF
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -80,6 +81,7 @@
 	chmod 644 $(INSTALL_DOC)/BTF_README.txt
 
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/btf.h
 	$(RM) $(INSTALL_DOC)/BTF_README.txt
diff -urN SuiteSparse.orig/CAMD/Lib/Makefile SuiteSparse/CAMD/Lib/Makefile
--- SuiteSparse.orig/CAMD/Lib/Makefile	2017-10-27 14:05:20.090337000 -0400
+++ SuiteSparse/CAMD/Lib/Makefile	2017-10-27 14:27:35.585799200 -0400
@@ -63,6 +63,7 @@
 
 # install CAMD
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -79,6 +80,7 @@
 
 # uninstall CAMD
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/camd.h
 	$(RM) $(INSTALL_DOC)/CAMD_UserGuide.pdf
diff -urN SuiteSparse.orig/CCOLAMD/Lib/Makefile SuiteSparse/CCOLAMD/Lib/Makefile
--- SuiteSparse.orig/CCOLAMD/Lib/Makefile	2017-10-27 14:05:20.100348700 -0400
+++ SuiteSparse/CCOLAMD/Lib/Makefile	2017-10-27 14:27:49.406174400 -0400
@@ -50,6 +50,7 @@
 
 # install CCOLAMD
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -63,6 +64,7 @@
 	chmod 644 $(INSTALL_DOC)/CCOLAMD_README.txt
 
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/ccolamd.h
 	$(RM) $(INSTALL_DOC)/CCOLAMD_README.txt
diff -urN SuiteSparse.orig/CHOLMOD/Lib/Makefile SuiteSparse/CHOLMOD/Lib/Makefile
--- SuiteSparse.orig/CHOLMOD/Lib/Makefile	2017-10-27 14:05:20.108369700 -0400
+++ SuiteSparse/CHOLMOD/Lib/Makefile	2017-10-27 14:28:03.044074400 -0400
@@ -536,6 +536,7 @@
 
 # install CHOLMOD
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -553,6 +554,7 @@
 
 # uninstall CHOLMOD
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/cholmod*.h
 	$(RM) $(INSTALL_DOC)/CHOLMOD_UserGuide.pdf
diff -urN SuiteSparse.orig/COLAMD/Lib/Makefile SuiteSparse/COLAMD/Lib/Makefile
--- SuiteSparse.orig/COLAMD/Lib/Makefile	2017-10-27 14:05:20.116391700 -0400
+++ SuiteSparse/COLAMD/Lib/Makefile	2017-10-27 14:28:14.342235400 -0400
@@ -50,6 +50,7 @@
 
 # install COLAMD
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -63,6 +64,7 @@
 	chmod 644 $(INSTALL_DOC)/COLAMD_README.txt
 
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/colamd.h
 	$(RM) $(INSTALL_DOC)/COLAMD_README.txt
diff -urN SuiteSparse.orig/CXSparse/Lib/Makefile SuiteSparse/CXSparse/Lib/Makefile
--- SuiteSparse.orig/CXSparse/Lib/Makefile	2017-10-27 14:05:20.124412700 -0400
+++ SuiteSparse/CXSparse/Lib/Makefile	2017-10-27 14:28:42.936134900 -0400
@@ -114,6 +114,7 @@
 
 # install CXSparse
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(CS)
 	@mkdir -p $(INSTALL_LIB)
@@ -128,6 +129,7 @@
 
 # uninstall CXSparse
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/cs.h
 	$(RM) $(INSTALL_DOC)/CXSPARSE_README.txt
diff -urN SuiteSparse.orig/CXSparse_newfiles/Lib/Makefile SuiteSparse/CXSparse_newfiles/Lib/Makefile
--- SuiteSparse.orig/CXSparse_newfiles/Lib/Makefile	2017-10-27 14:05:20.132434700 -0400
+++ SuiteSparse/CXSparse_newfiles/Lib/Makefile	2017-10-27 14:28:58.098502000 -0400
@@ -114,6 +114,7 @@
 
 # install CXSparse
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(CS)
 	@mkdir -p $(INSTALL_LIB)
@@ -128,6 +129,7 @@
 
 # uninstall CXSparse
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/cs.h
 	$(RM) $(INSTALL_DOC)/CXSPARSE_README.txt
diff -urN SuiteSparse.orig/KLU/Lib/Makefile SuiteSparse/KLU/Lib/Makefile
--- SuiteSparse.orig/KLU/Lib/Makefile	2017-10-27 14:05:20.150482700 -0400
+++ SuiteSparse/KLU/Lib/Makefile	2017-10-27 14:29:21.673082300 -0400
@@ -264,6 +264,7 @@
 
 # install KLU
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -280,6 +281,7 @@
 
 # uninstall KLU
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/klu.h
 	$(RM) $(INSTALL_DOC)/KLU_UserGuide.pdf
diff -urN SuiteSparse.orig/LDL/Lib/Makefile SuiteSparse/LDL/Lib/Makefile
--- SuiteSparse.orig/LDL/Lib/Makefile	2017-10-27 14:05:20.158534300 -0400
+++ SuiteSparse/LDL/Lib/Makefile	2017-10-27 14:29:32.417628700 -0400
@@ -47,6 +47,7 @@
 
 # install LDL
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -63,6 +64,7 @@
 
 # uninstall LDL
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/ldl.h
 	$(RM) $(INSTALL_DOC)/ldl_userguide.pdf
diff -urN SuiteSparse.orig/RBio/Lib/Makefile SuiteSparse/RBio/Lib/Makefile
--- SuiteSparse.orig/RBio/Lib/Makefile	2017-10-27 14:05:20.173544900 -0400
+++ SuiteSparse/RBio/Lib/Makefile	2017-10-27 14:29:44.135822900 -0400
@@ -61,6 +61,7 @@
 
 # install RBio
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -75,6 +76,7 @@
 
 # uninstall RBio
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/RBio.h
 	$(RM) $(INSTALL_DOC)/RBIO_README.txt
diff -urN SuiteSparse.orig/SPQR/Lib/Makefile SuiteSparse/SPQR/Lib/Makefile
--- SuiteSparse.orig/SPQR/Lib/Makefile	2017-10-27 14:05:20.182568000 -0400
+++ SuiteSparse/SPQR/Lib/Makefile	2017-10-27 14:29:59.827071800 -0400
@@ -243,6 +243,7 @@
 
 # install SPQR
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -265,6 +266,7 @@
 
 # uninstall SPQR
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/SuiteSparseQR.hpp
 	$(RM) $(INSTALL_INCLUDE)/SuiteSparseQR_C.h
diff -urN SuiteSparse.orig/SuiteSparse_config/Makefile SuiteSparse/SuiteSparse_config/Makefile
--- SuiteSparse.orig/SuiteSparse_config/Makefile	2017-10-27 14:05:20.189586400 -0400
+++ SuiteSparse/SuiteSparse_config/Makefile	2017-10-27 14:30:14.135924600 -0400
@@ -45,6 +45,7 @@
 
 # install SuiteSparse_config
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -59,6 +60,7 @@
 
 # uninstall SuiteSparse_config
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/SuiteSparse_config.h
 	$(RM) $(INSTALL_DOC)/SUITESPARSECONFIG_README.txt
diff -urN SuiteSparse.orig/UMFPACK/Lib/Makefile SuiteSparse/UMFPACK/Lib/Makefile
--- SuiteSparse.orig/UMFPACK/Lib/Makefile	2017-10-27 14:05:20.225681300 -0400
+++ SuiteSparse/UMFPACK/Lib/Makefile	2017-10-27 14:30:29.018341400 -0400
@@ -289,6 +289,7 @@
 #-------------------------------------------------------------------------------
 # install UMFPACK
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
@@ -307,6 +308,7 @@
 
 # uninstall UMFPACK
 uninstall:
+	$(RM) $(INSTALL_LIB)/$(AR_TARGET)
 	$(RM) $(INSTALL_SO)/$(SO_TARGET)
 	$(RM) $(INSTALL_INCLUDE)/umfpack*.h
 	$(RM) $(INSTALL_DOC)/UMFPACK_UserGuide.pdf

diff -urN SuiteSparse-5.8.1.orig/SLIP_LU/Lib/Makefile SuiteSparse-5.8.1/SLIP_LU/Lib/Makefile
--- SuiteSparse-5.8.1.orig/SLIP_LU/Lib/Makefile	2020-12-22 23:20:55.105328700 +0500
+++ SuiteSparse-5.8.1/SLIP_LU/Lib/Makefile	2020-12-22 23:21:21.160938900 +0500
@@ -64,6 +64,7 @@
 
 # install SLIP_LU
 install: $(AR_TARGET) $(INSTALL_SO)/$(SO_TARGET)
+	$(CP) $(AR_TARGET) $(INSTALL_LIB)
 
 $(INSTALL_SO)/$(SO_TARGET): $(OBJ)
 	@mkdir -p $(INSTALL_LIB)
