]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Delete archive file to avoid packing the same object files into it many times if...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 26 Aug 2007 21:39:39 +0000 (21:39 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 26 Aug 2007 21:39:39 +0000 (21:39 +0000)
git-svn-id: https://svn.dealii.org/trunk@15047 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lib/Makefile

index 31b758e25102afd21a726a85c4be9555092d9b17..f031dc066c56bdd13f3f292502a9172b93f909ca 100644 (file)
@@ -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 \

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.