]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Serialize creation of static PETSc libs.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 24 Aug 2007 22:10:14 +0000 (22:10 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 24 Aug 2007 22:10:14 +0000 (22:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@15040 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lib/Makefile

index 46986b96a84fa3a76e367fefa31949ee693f78a5..31b758e25102afd21a726a85c4be9555092d9b17 100644 (file)
@@ -71,7 +71,11 @@ ifeq ($(enable-shared),yes)
 
 else
 
-  external-links-petsc: libpetscall.g$(static-lib-suffix) libpetscall$(static-lib-suffix)
+  # make static libraries. ensure that they are built one after the other because
+  # both create temporary files with the same name
+  external-links-petsc: 
+       @$(MAKE) libpetscall.g$(static-lib-suffix)
+       @$(MAKE) libpetscall$(static-lib-suffix)
 
   # As I don't know how to merge archives, here's a workaround: Extract each of
   # the archives and append the object files to the libpetsc archive. Do the

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.