From 29300c9d7b29b6fae331a092d03c0eed35dd0be3 Mon Sep 17 00:00:00 2001 From: bangerth Date: Sun, 26 Aug 2007 21:39:39 +0000 Subject: [PATCH] Delete archive file to avoid packing the same object files into it many times if it isn't deleted before writing into it. git-svn-id: https://svn.dealii.org/trunk@15047 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/lib/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/deal.II/lib/Makefile b/deal.II/lib/Makefile index 31b758e251..f031dc066c 100644 --- a/deal.II/lib/Makefile +++ b/deal.II/lib/Makefile @@ -82,6 +82,7 @@ else # same for debug and optimized mode. libpetscall.g$(static-lib-suffix): $(xlib.g) @echo "======================debug============= Linking library: libpetscall.g$(static-lib-suffix)" + @rm -f $@ @rm -rf .ar_tmp @mkdir .ar_tmp; cd .ar_tmp; \ for arfile in $(xlib.g) ; do \ @@ -95,6 +96,7 @@ else libpetscall$(static-lib-suffix): $(xlib.o) @echo "======================optimized========= Linking library: libpetscall$(static-lib-suffix)" + @rm -f $@ @rm -rf .ar_tmp @mkdir .ar_tmp; cd .ar_tmp; \ for arfile in $(xlib.o) ; do \ -- 2.39.5