Fix make clean (#387)

Fixed Makefile clean targets to explicitly remove '*.obj' files.  The previous approach had the potential to delete developer files that were not intended to be removed.
This commit is contained in:
Rob Falgout 2021-05-27 17:33:19 -07:00 committed by GitHub
parent b88d965c16
commit 1d9411c7ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 10 additions and 10 deletions

View File

@ -68,7 +68,7 @@ install: libHYPRE_IJ_mv${HYPRE_LIB_SUFFIX}
# cp -fR libHYPRE* $(HYPRE_LIB_INSTALL)
clean:
rm -f *.o* libHYPRE*
rm -f *.o *.obj libHYPRE*
rm -rf pchdir tca.map *inslog*
distclean: clean

View File

@ -179,7 +179,7 @@ install: libHYPRE_parcsr_ls${HYPRE_LIB_SUFFIX}
# cp -fR libHYPRE* $(HYPRE_LIB_INSTALL)
clean:
rm -f *.o* libHYPRE*
rm -f *.o *.obj libHYPRE*
rm -rf pchdir tca.map *inslog*
distclean: clean

View File

@ -118,7 +118,7 @@ install: libHYPRE_parcsr_mv${HYPRE_LIB_SUFFIX}
# cp -fR libHYPRE* $(HYPRE_LIB_INSTALL)
clean:
rm -f *.o* libHYPRE*
rm -f *.o *.obj libHYPRE*
rm -f driver driver_matvec driver_matmul
rm -rf pchdir tca.map *inslog*

View File

@ -75,7 +75,7 @@ install: libHYPRE_seq_mv${HYPRE_LIB_SUFFIX}
# cp -fR libHYPRE* $(HYPRE_LIB_INSTALL)
clean:
rm -f *.o* libHYPRE*
rm -f *.o *.obj libHYPRE*
rm -rf pchdir tca.map *inslog*
distclean: clean

View File

@ -125,7 +125,7 @@ install: libHYPRE_sstruct_ls${HYPRE_LIB_SUFFIX}
# cp -fR libHYPRE* $(HYPRE_LIB_INSTALL)
clean:
rm -f *.o* libHYPRE*
rm -f *.o *.obj libHYPRE*
rm -rf pchdir tca.map *inslog*
distclean: clean

View File

@ -72,7 +72,7 @@ install: libHYPRE_sstruct_mv${HYPRE_LIB_SUFFIX}
# cp -fR libHYPRE* $(HYPRE_LIB_INSTALL)
clean:
rm -f *.o* libHYPRE*
rm -f *.o *.obj libHYPRE*
rm -rf pchdir tca.map *inslog*
distclean: clean

View File

@ -117,7 +117,7 @@ install: libHYPRE_struct_ls${HYPRE_LIB_SUFFIX}
# cp -fR libHYPRE* $(HYPRE_LIB_INSTALL)
clean:
rm -f *.o* libHYPRE*
rm -f *.o *.obj libHYPRE*
rm -rf pchdir tca.map *inslog*
distclean: clean

View File

@ -81,7 +81,7 @@ install: libHYPRE_struct_mv${HYPRE_LIB_SUFFIX}
# cp -fR libHYPRE* $(HYPRE_LIB_INSTALL)
clean:
rm -f *.o* libHYPRE*
rm -f *.o *.obj libHYPRE*
rm -rf pchdir tca.map *inslog*
distclean: clean

View File

@ -105,7 +105,7 @@ all++: ${HYPRE_DRIVER_CXX_EXECS}
install:
clean:
rm -f *.o*
rm -f *.o *.obj
rm -rf pchdir tca.map *inslog*
distclean: clean

View File

@ -89,7 +89,7 @@ install: libHYPRE_utilities${HYPRE_LIB_SUFFIX}
# cp -fR libHYPRE* $(HYPRE_LIB_INSTALL)
clean:
rm -f *.o* libHYPRE*
rm -f *.o *.obj libHYPRE*
rm -rf pchdir tca.map *inslog*
distclean: clean